summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-03-19 11:41:21 +0000
committermaedhros <maedhros@openttd.org>2007-03-19 11:41:21 +0000
commit28aa93348900c7f3044d4827fb5af659338cd14d (patch)
tree6e9100c64aced0450eb61d98e74981dd8788c609 /src
parent73ff939ddbb4772178de68f821d9c32ded846a06 (diff)
downloadopenttd-28aa93348900c7f3044d4827fb5af659338cd14d.tar.xz
(svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge.
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp4
-rw-r--r--src/saveload.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 88a460429..93c57fa81 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -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;
diff --git a/src/saveload.cpp b/src/saveload.cpp
index d35cb37af..e3929e946 100644
--- a/src/saveload.cpp
+++ b/src/saveload.cpp
@@ -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!