(svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion.

This commit is contained in:
frosch 2013-10-13 10:51:58 +00:00
parent 15ebb29447
commit 871519f75a
2 changed files with 2 additions and 2 deletions

View File

@ -2815,7 +2815,7 @@ bool AfterLoadGame()
_settings_game.locale.units_height = Clamp(_old_units, 0, 2); _settings_game.locale.units_height = Clamp(_old_units, 0, 2);
} }
if (IsSavegameVersionBefore(185)) { if (IsSavegameVersionBefore(186)) {
/* Move ObjectType from map to pool */ /* Move ObjectType from map to pool */
for (TileIndex t = 0; t < map_size; t++) { for (TileIndex t = 0; t < map_size; t++) {
if (IsTileType(t, MP_OBJECT)) { if (IsTileType(t, MP_OBJECT)) {

View File

@ -251,7 +251,7 @@
* 183 25363 * 183 25363
* 184 25508 * 184 25508
* 185 25620 * 185 25620
* 186 TODO * 186 25833
*/ */
extern const uint16 SAVEGAME_VERSION = 186; ///< Current savegame version of OpenTTD. extern const uint16 SAVEGAME_VERSION = 186; ///< Current savegame version of OpenTTD.