(svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station.

This commit is contained in:
rubidium
2009-04-12 14:11:14 +00:00
parent a71d7c7a61
commit 4c707c7414
14 changed files with 164 additions and 24 deletions

View File

@@ -1797,6 +1797,14 @@ bool AfterLoadGame()
}
}
/* Trains could now stop in a specific location. */
if (CheckSavegameVersion(117)) {
Order *o;
FOR_ALL_ORDERS(o) {
if (o->IsType(OT_GOTO_STATION)) o->SetStopLocation(OSL_PLATFORM_FAR_END);
}
}
AfterLoadLabelMaps();
GamelogPrintDebug(1);