From cd702d049e380478cc527455ee7422b61b33f8ef Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 7 Jul 2007 08:53:19 +0000 Subject: (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries. --- src/openttd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openttd.cpp') 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) { -- cgit v1.2.3-54-g00ecf