diff options
author | rubidium <rubidium@openttd.org> | 2007-07-07 08:53:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-07 08:53:19 +0000 |
commit | 9a55c79fd11e9075b937abe0a6a077fa77a72823 (patch) | |
tree | b284545aafd09cc7fb92b71fbb6207c155507b8f /src/openttd.cpp | |
parent | c86015203aa7e85cd4e5d6044896a203028ca16a (diff) | |
download | openttd-9a55c79fd11e9075b937abe0a6a077fa77a72823.tar.xz |
(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 6 |
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) { |