mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge.
This commit is contained in:
parent
209101391a
commit
ccd448b72f
@ -1758,9 +1758,9 @@ bool AfterLoadGame()
|
||||
/* do the same as when elrails were enabled/disabled manually just now */
|
||||
SettingsDisableElrail(_patches.disable_elrails);
|
||||
|
||||
/* From version 52, the map array was changed for house tiles to allow
|
||||
/* From version 53, the map array was changed for house tiles to allow
|
||||
* space for newhouses grf features. A new byte, m7, was also added. */
|
||||
if (CheckSavegameVersion(52)) {
|
||||
if (CheckSavegameVersion(53)) {
|
||||
for (TileIndex t = 0; t < map_size; t++) {
|
||||
_me[t].m7 = 0;
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "variables.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
extern const uint16 SAVEGAME_VERSION = 52;
|
||||
extern const uint16 SAVEGAME_VERSION = 53;
|
||||
uint16 _sl_version; ///< the major savegame version identifier
|
||||
byte _sl_minor_version; ///< the minor savegame version, DO NOT USE!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user