aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-26 18:42:35 +0100
committerTobias Gunkel2012-02-11 08:29:29 +0100
commitf99dab78e401608e45da672355ecac468f8e5e1d (patch)
tree0e218f6e15ee2f70544d31a007f45a9442927beb /engines/scumm
parentcf292001d35b56b4e4741d7519019c57b30d22dd (diff)
downloadscummvm-rg350-f99dab78e401608e45da672355ecac468f8e5e1d.tar.gz
scummvm-rg350-f99dab78e401608e45da672355ecac468f8e5e1d.tar.bz2
scummvm-rg350-f99dab78e401608e45da672355ecac468f8e5e1d.zip
SCUMM: fix for old savegames
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/actor.cpp8
-rw-r--r--engines/scumm/saveload.h2
2 files changed, 6 insertions, 4 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 47b2582242..ed517524ff 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -2834,9 +2834,11 @@ void ActorC64::saveLoadWithSerializer(Serializer *ser) {
MKLINE_OLD(ActorC64, _costFrame, sleByte, VER(84), VER(89)),
MKLINE(ActorC64, _miscflags, sleByte, VER(84)),
MKLINE(ActorC64, _speaking, sleByte, VER(84)),
- MKLINE(ActorC64, _animFrameRepeat, sleByte, VER(89)),
- MKARRAY(ActorC64, _limbFrameRepeatNew[0], sleInt8, 8, VER(89)),
- MKARRAY(ActorC64, _limbFrameRepeat[0], sleInt8, 8, VER(89)),
+ MK_OBSOLETE(ActorC64, _speakingPrev, sleByte, VER(84), VER(89)),
+ MK_OBSOLETE(ActorC64, _byte_FD0A, sleByte, VER(89), VER(89)),
+ MKLINE(ActorC64, _animFrameRepeat, sleByte, VER(89)),
+ MKARRAY(ActorC64, _limbFrameRepeatNew[0], sleInt8, 8, VER(89)),
+ MKARRAY(ActorC64, _limbFrameRepeat[0], sleInt8, 8, VER(90)),
MKEND()
};
diff --git a/engines/scumm/saveload.h b/engines/scumm/saveload.h
index 898f80f867..931b56f137 100644
--- a/engines/scumm/saveload.h
+++ b/engines/scumm/saveload.h
@@ -47,7 +47,7 @@ namespace Scumm {
* only saves/loads those which are valid for the version of the savegame
* which is being loaded/saved currently.
*/
-#define CURRENT_VER 89
+#define CURRENT_VER 90
/**
* An auxillary macro, used to specify savegame versions. We use this instead