diff options
author | Max Horn | 2003-01-09 22:53:21 +0000 |
---|---|---|
committer | Max Horn | 2003-01-09 22:53:21 +0000 |
commit | c3657ff6373269260ae487ab51d977a481971acd (patch) | |
tree | a184abe68a9ac9a43e22fcc698299262d2ae88ca /scumm/saveload.cpp | |
parent | 86dea678e2759566110b1b6520363e888086c66b (diff) | |
download | scummvm-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.cpp | 5 |
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), |