(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.

This commit is contained in:
rubidium
2007-07-07 08:53:19 +00:00
parent c86015203a
commit 9a55c79fd1
5 changed files with 40 additions and 13 deletions

View File

@@ -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) {