From 85255ea001c975602c5129911b108c03db848471 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 14 Jan 2011 20:52:22 +0000 Subject: (svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well --- src/saveload/afterload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload/afterload.cpp') diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 7694bcc9a..b56a33215 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -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) { -- cgit v1.2.3-70-g09d2