]> git.tdb.fi Git - r2c2.git/commit
Return null from Route::find if a route can't be found
authorMikko Rasa <tdb@tdb.fi>
Wed, 27 Oct 2010 18:49:03 +0000 (18:49 +0000)
committerMikko Rasa <tdb@tdb.fi>
Wed, 27 Oct 2010 18:49:03 +0000 (18:49 +0000)
commite13742268b7030f8d6152858d39f1c6b43f94c88
tree31d4601c2f0aa213f8af1d25e3255ca9d1732e46
parentc400ed779704cc802de977090594c3441c3e7093
Return null from Route::find if a route can't be found
Avoid setting a route that can't be reached
Stop timetable if route can't be set
Put diversion route in RefPtr so it gets cleaned if we bail out
source/engineer/routeselect.cpp
source/engineer/trainpanel.cpp
source/libmarklin/route.cpp
source/libmarklin/timetable.cpp
source/libmarklin/train.cpp
source/libmarklin/train.h