(svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user