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/settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 83db910ce..f3e5fb9ad 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1704,8 +1704,8 @@ void CheckConfig() } extern const ChunkHandler _setting_chunk_handlers[] = { - { 'OPTS', NULL, Load_OPTS, CH_RIFF}, - { 'PATS', Save_PATS, Load_PATS, CH_RIFF | CH_LAST}, + { 'OPTS', NULL, Load_OPTS, NULL, CH_RIFF}, + { 'PATS', Save_PATS, Load_PATS, NULL, CH_RIFF | CH_LAST}, }; static bool IsSignedVarMemType(VarType vt) -- cgit v1.2.3-70-g09d2