From bd66cc57569a034b02674fa8aaa5dbe521e73a36 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 4 Dec 2006 08:30:04 +0000 Subject: (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... --- saveload.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'saveload.c') diff --git a/saveload.c b/saveload.c index 3a5a7889d..0c51c81a5 100644 --- a/saveload.c +++ b/saveload.c @@ -30,7 +30,7 @@ #include "variables.h" #include -const uint16 SAVEGAME_VERSION = 40; +const uint16 SAVEGAME_VERSION = 41; uint16 _sl_version; /// the major savegame version identifier byte _sl_minor_version; /// the minor savegame version, DO NOT USE! @@ -1200,6 +1200,7 @@ extern const ChunkHandler _station_chunk_handlers[]; extern const ChunkHandler _industry_chunk_handlers[]; extern const ChunkHandler _economy_chunk_handlers[]; extern const ChunkHandler _animated_tile_chunk_handlers[]; +extern const ChunkHandler _newgrf_chunk_handlers[]; static const ChunkHandler * const _chunk_handlers[] = { _misc_chunk_handlers, @@ -1216,6 +1217,7 @@ static const ChunkHandler * const _chunk_handlers[] = { _station_chunk_handlers, _player_chunk_handlers, _animated_tile_chunk_handlers, + _newgrf_chunk_handlers, NULL, }; -- cgit v1.2.3-70-g09d2