summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-13 13:48:40 +0200
committerGitHub <noreply@github.com>2021-06-13 13:48:40 +0200
commit1e432fbd7124a617374e3db56f41a26541890ce5 (patch)
tree4afe8e206f26ee9823e5aaa9c3682f278c21c5ab /src/saveload
parentf86c66cbd7aafa16188b80feda0be9f69587e34b (diff)
downloadopenttd-1e432fbd7124a617374e3db56f41a26541890ce5.tar.xz
Fix 81062163: for (really) old games, station bus/truck station cache was not updated (#9366)
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/afterload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp
index 40f11f507..b67d57a65 100644
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -1415,7 +1415,7 @@ bool AfterLoadGame()
c->avail_roadtypes = GetCompanyRoadTypes(c->index);
}
- if (!IsSavegameVersionBefore(SLV_27)) AfterLoadStations();
+ AfterLoadStations();
/* Time starts at 0 instead of 1920.
* Account for this in older games by adding an offset */