]> git.tdb.fi Git - r2c2.git/commit
Ensure that Timetable has necessary helper AIs
authorMikko Rasa <tdb@tdb.fi>
Thu, 29 Jan 2015 16:50:52 +0000 (18:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 29 Jan 2015 16:50:52 +0000 (18:50 +0200)
commit76e277499fec494a96a1120692a1c6b4dc85ba60
treed429f315e6a6cddcb09e6c67ec6d9a35556de85a
parentb86f4adf319881697e6ecb46aaeaffe01d7b0a0a
Ensure that Timetable has necessary helper AIs

Since AIControl and TrainRouter don't emit statements to the state file,
they are not created automatically when loading the state.  If they are
missing, the timetable won't be able to operate.
source/libr2c2/timetable.cpp