(svn r21171) -Change: Reset industry build data at game start or load.

This commit is contained in:
alberth
2010-11-13 15:15:25 +00:00
parent 4d419b9f3e
commit f22fb0d53d
4 changed files with 27 additions and 2 deletions

View File

@@ -2319,8 +2319,9 @@ bool AfterLoadGame()
}
}
if (CheckSavegameVersion(152)) {
_industry_builder.Reset(); // Initialize industry build data.
/* The moment vehicles go from hidden to visible changed. This means
* that vehicles don't always get visible anymore causing things to
* get messed up just after loading the savegame. This fixes that. */