aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-02-14 10:11:15 +0000
committerTravis Howell2006-02-14 10:11:15 +0000
commitb796860ee80c6a1d975b93ae1f95c76d9f60d8f3 (patch)
tree3716f1db61950bc94eb1541a6221d610cb259db3 /engines/scumm/actor.cpp
parentd96713a8574dea95fc84f256d970cf78c913aaa6 (diff)
downloadscummvm-rg350-b796860ee80c6a1d975b93ae1f95c76d9f60d8f3.tar.gz
scummvm-rg350-b796860ee80c6a1d975b93ae1f95c76d9f60d8f3.tar.bz2
scummvm-rg350-b796860ee80c6a1d975b93ae1f95c76d9f60d8f3.zip
Add extra costume tables (Used by HE games) to saved game. Fixes weird actor states when restoring saved game, in HE games.
svn-id: r20689
Diffstat (limited to 'engines/scumm/actor.cpp')
-rw-r--r--engines/scumm/actor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 40d6ee0efa..686df5e42e 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -2242,6 +2242,10 @@ void Actor::saveLoadWithSerializer(Serializer *ser) {
MKARRAY(Actor, _cost.start[0], sleUint16, 16, VER(8)),
MKARRAY(Actor, _cost.end[0], sleUint16, 16, VER(8)),
MKARRAY(Actor, _cost.frame[0], sleUint16, 16, VER(8)),
+
+ MKARRAY(Actor, _cost.heJumpOffsetTable[0], sleUint16, 16, VER(65)),
+ MKARRAY(Actor, _cost.heJumpCountTable[0], sleUint16, 16, VER(65)),
+ MKARRAY(Actor, _cost.heCondMaskTable[0], sleUint32, 16, VER(65)),
MKEND()
};