(svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well

This commit is contained in:
rubidium
2011-01-14 20:52:22 +00:00
parent 75351f4043
commit 85255ea001
2 changed files with 13 additions and 4 deletions

View File

@@ -2012,8 +2012,8 @@ bool AfterLoadGame()
}
}
if (IsSavegameVersionBefore(124)) {
/* The train station tile area was added */
if (IsSavegameVersionBefore(124) && !IsSavegameVersionBefore(1)) {
/* The train station tile area was added, but for really old (TTDPatch) it's already valid. */
Waypoint *wp;
FOR_ALL_WAYPOINTS(wp) {
if (wp->facilities & FACIL_TRAIN) {