aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-09 22:53:21 +0000
committerMax Horn2003-01-09 22:53:21 +0000
commitc3657ff6373269260ae487ab51d977a481971acd (patch)
treea184abe68a9ac9a43e22fcc698299262d2ae88ca /scumm/saveload.cpp
parent86dea678e2759566110b1b6520363e888086c66b (diff)
downloadscummvm-rg350-c3657ff6373269260ae487ab51d977a481971acd.tar.gz
scummvm-rg350-c3657ff6373269260ae487ab51d977a481971acd.tar.bz2
scummvm-rg350-c3657ff6373269260ae487ab51d977a481971acd.zip
fixed the 'too many verbs' bug: verbid is 16 bits but was stored in save games as a byte. This means that existing savegames are still affected by the bug
svn-id: r6376
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index cf98762ca7..bf9ea4427c 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -322,7 +322,10 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion)
MKLINE(VerbSlot, oldtop, sleInt16, VER_V8),
MKLINE(VerbSlot, oldright, sleInt16, VER_V8),
MKLINE(VerbSlot, oldbottom, sleInt16, VER_V8),
- MKLINE(VerbSlot, verbid, sleByte, VER_V8),
+
+ MKLINE_OLD(VerbSlot, verbid, sleByte, VER_V8, VER_V11),
+ MKLINE(VerbSlot, verbid, sleInt16, VER_V12),
+
MKLINE(VerbSlot, color, sleByte, VER_V8),
MKLINE(VerbSlot, hicolor, sleByte, VER_V8),
MKLINE(VerbSlot, dimcolor, sleByte, VER_V8),