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
commit9658c83a338562eb7c5dd8b8653af194440a55cc (patch)
tree9cf5aa32dccf3a4f6ccec2e39745f510ba61a743
parent7368c740a646c958797b5dff90d6c5b51236e2a4 (diff)
downloadopenttd-9658c83a338562eb7c5dd8b8653af194440a55cc.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},
};