From 30884396e69ea4ee7a00b1bc2ae9ecec9b5f0b6b Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 4 Jan 2009 15:46:50 +0000 Subject: (svn r14829) -Fix (r14828): forgot CH_LAST --- src/saveload/map_sl.cpp | 2 +- src/saveload/subsidy_sl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/saveload/map_sl.cpp b/src/saveload/map_sl.cpp index 6025f0fca..00139dde9 100644 --- a/src/saveload/map_sl.cpp +++ b/src/saveload/map_sl.cpp @@ -245,5 +245,5 @@ extern const ChunkHandler _map_chunk_handlers[] = { { 'M3HI', Save_MAP4, Load_MAP4, CH_RIFF }, { 'MAP5', Save_MAP5, Load_MAP5, CH_RIFF }, { 'MAPE', Save_MAP6, Load_MAP6, CH_RIFF }, - { 'MAP7', Save_MAP7, Load_MAP7, CH_RIFF }, + { 'MAP7', Save_MAP7, Load_MAP7, CH_RIFF | CH_LAST }, }; diff --git a/src/saveload/subsidy_sl.cpp b/src/saveload/subsidy_sl.cpp index 95fac25c7..1252f9793 100644 --- a/src/saveload/subsidy_sl.cpp +++ b/src/saveload/subsidy_sl.cpp @@ -39,5 +39,5 @@ void Load_SUBS() } extern const ChunkHandler _subsidy_chunk_handlers[] = { - { 'SUBS', Save_SUBS, Load_SUBS, CH_ARRAY}, + { 'SUBS', Save_SUBS, Load_SUBS, CH_ARRAY | CH_LAST}, }; -- cgit v1.2.3-70-g09d2