summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-16 22:20:15 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-16 22:20:15 +0000
commit479a9c2e47358cd5cb040e89c66a4de11d1b457d (patch)
tree981b72e2eee14dca280a68f1b688ab83202c9f73 /saveload.c
parentea1921d2e0a45a94af69365c38533944fa46c0fa (diff)
downloadopenttd-479a9c2e47358cd5cb040e89c66a4de11d1b457d.tar.xz
(svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
- Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact.
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/saveload.c b/saveload.c
index 05bfb4475..7b3a00b80 100644
--- a/saveload.c
+++ b/saveload.c
@@ -29,8 +29,8 @@
#include <setjmp.h>
enum {
- SAVEGAME_MAJOR_VERSION = 16,
- SAVEGAME_MINOR_VERSION = 1,
+ SAVEGAME_MAJOR_VERSION = 17,
+ SAVEGAME_MINOR_VERSION = 0,
SAVEGAME_LOADABLE_VERSION = (SAVEGAME_MAJOR_VERSION << 8) + SAVEGAME_MINOR_VERSION
};