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
commit754d26407e8cda101f04c93a94c60bc0625f540c (patch)
tree981b72e2eee14dca280a68f1b688ab83202c9f73 /saveload.c
parent5cb9de35d114cf1f7b92945924c9fc05fa117d47 (diff)
downloadopenttd-754d26407e8cda101f04c93a94c60bc0625f540c.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
};