From 570af0ce449b6c94427233d7eae07c40bb789197 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 17 May 2009 16:28:29 +0000 Subject: (svn r16338) -Codechange: split loading of references to two phases In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers --- src/saveload/cheat_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload/cheat_sl.cpp') diff --git a/src/saveload/cheat_sl.cpp b/src/saveload/cheat_sl.cpp index a8c939fed..e068a5538 100644 --- a/src/saveload/cheat_sl.cpp +++ b/src/saveload/cheat_sl.cpp @@ -33,5 +33,5 @@ static void Load_CHTS() } extern const ChunkHandler _cheat_chunk_handlers[] = { - { 'CHTS', Save_CHTS, Load_CHTS, CH_RIFF | CH_LAST} + { 'CHTS', Save_CHTS, Load_CHTS, NULL, CH_RIFF | CH_LAST}, }; -- cgit v1.2.3-70-g09d2