summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index be588e5d9..c79b68014 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -2570,6 +2570,13 @@ bool AfterLoadGame()
FOR_ALL_SIGNS(si) {
if (si->owner != OWNER_NONE && !IsValidCompanyID(si->owner)) si->owner = OWNER_NONE;
}
+
+ /* Station can get named based on an industry type, but the current ones
+ * are not, so mark them as if they are not named by an industry. */
+ Station *st;
+ FOR_ALL_STATIONS(st) {
+ st->indtype = IT_INVALID;
+ }
}
GamelogPrintDebug(1);