(svn r21171) -Change: Reset industry build data at game start or load.
This commit is contained in:
@@ -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. */
|
||||
|
@@ -214,8 +214,9 @@
|
||||
* 149 20832
|
||||
* 150 20857
|
||||
* 151 20918
|
||||
* 152 21171
|
||||
*/
|
||||
extern const uint16 SAVEGAME_VERSION = 151; ///< current savegame version of OpenTTD
|
||||
extern const uint16 SAVEGAME_VERSION = 152; ///< Current savegame version of OpenTTD.
|
||||
|
||||
SavegameType _savegame_type; ///< type of savegame we are loading
|
||||
|
||||
|
Reference in New Issue
Block a user