summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-04 15:46:50 +0000
committersmatz <smatz@openttd.org>2009-01-04 15:46:50 +0000
commit30884396e69ea4ee7a00b1bc2ae9ecec9b5f0b6b (patch)
tree9cf5aa32dccf3a4f6ccec2e39745f510ba61a743
parent91233ea596aa3cdf00447b23d68cae6083efb6bb (diff)
downloadopenttd-30884396e69ea4ee7a00b1bc2ae9ecec9b5f0b6b.tar.xz
(svn r14829) -Fix (r14828): forgot CH_LAST
-rw-r--r--src/saveload/map_sl.cpp2
-rw-r--r--src/saveload/subsidy_sl.cpp2
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},
};