summaryrefslogtreecommitdiff
path: root/src/saveload.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 21:21:01 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 21:21:01 +0000
commit18e64b28e25f387d1e269899cce8ffa704b1c76b (patch)
tree5c9f5720b6e3a7be462d940982b7a3ed266ae13f /src/saveload.cpp
parentfa4b5b1c18e8e1948af209f547ae552ed171f908 (diff)
downloadopenttd-18e64b28e25f387d1e269899cce8ffa704b1c76b.tar.xz
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r--src/saveload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp
index b7eab12c0..4e73c5898 100644
--- a/src/saveload.cpp
+++ b/src/saveload.cpp
@@ -1248,6 +1248,7 @@ static void UninitWriteZlib()
/* these define the chunks */
extern const ChunkHandler _misc_chunk_handlers[];
+extern const ChunkHandler _cheat_chunk_handlers[] ;
extern const ChunkHandler _setting_chunk_handlers[];
extern const ChunkHandler _player_chunk_handlers[];
extern const ChunkHandler _engine_chunk_handlers[];
@@ -1267,6 +1268,7 @@ extern const ChunkHandler _cargopacket_chunk_handlers[];
static const ChunkHandler * const _chunk_handlers[] = {
_misc_chunk_handlers,
+ _cheat_chunk_handlers,
_setting_chunk_handlers,
_veh_chunk_handlers,
_waypoint_chunk_handlers,