summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-18 08:50:17 +0000
committercelestar <celestar@openttd.org>2006-04-18 08:50:17 +0000
commite75e4e8f74614e360414c7ec43899b8c461c911f (patch)
tree30ec24c2a1d82c9e46e78489ed951320b67741d9 /saveload.c
parent62f7907d3a5210160a1a3bf134e95213382c9c90 (diff)
downloadopenttd-e75e4e8f74614e360414c7ec43899b8c461c911f.tar.xz
(svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.
-Negative side effect: upon loading old games, stations whose last vehicle was a station have (temporarily) lower ratings. -Positive side effect: station.h no longer includes vehicle.h (breaks the station.h->vehicle.h->rail.h chain)
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index 475a7675c..39e3d2591 100644
--- a/saveload.c
+++ b/saveload.c
@@ -30,7 +30,7 @@
#include "variables.h"
#include <setjmp.h>
-const uint16 SAVEGAME_VERSION = 25;
+const uint16 SAVEGAME_VERSION = 26;
uint16 _sl_version; /// the major savegame version identifier
byte _sl_minor_version; /// the minor savegame version, DO NOT USE!