From 5790293af6404ab5eb941ba9f67141631ecf621d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 12 Apr 2009 14:11:14 +0000 Subject: (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. --- src/saveload/afterload.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/saveload/afterload.cpp') diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 5f7cc1848..7dca7a53a 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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); -- cgit v1.2.3-54-g00ecf