summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 7f88684e4..bdec37c94 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -2080,6 +2080,12 @@ bool AfterLoadGame()
}
}
+ if (CheckSavegameVersion(70)) {
+ /* Added variables to support newindustries */
+ Industry *i;
+ FOR_ALL_INDUSTRIES(i) i->founder = OWNER_NONE;
+ }
+
/* Recalculate */
Group *g;
FOR_ALL_GROUPS(g) {