aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorGregory Montoir2006-01-10 21:39:14 +0000
committerGregory Montoir2006-01-10 21:39:14 +0000
commitf6c61962952b2d51d19177d42a92855b07d33178 (patch)
treeeeedcc4786eee25dfb9e693fbfd9529ad9eeba79 /scumm/saveload.cpp
parent10936be5f6f0ac23d767cff67af35641053ca804 (diff)
downloadscummvm-rg350-f6c61962952b2d51d19177d42a92855b07d33178.tar.gz
scummvm-rg350-f6c61962952b2d51d19177d42a92855b07d33178.tar.bz2
scummvm-rg350-f6c61962952b2d51d19177d42a92855b07d33178.zip
Get rid of unused variables and removed them from the save data ; FloodFill.unk1C and _curExecScript.
Concerning _curExecScript, I checked several interpreters (even one with windex compiled in), the only function where it's used is runAllScripts. svn-id: r19977
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index 34f423c9ce..637d99cddb 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -701,7 +701,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {
MKARRAY_OLD(ScummEngine, _charsetData[0][0], sleByte, 10 * 16, VER(8), VER(9)),
MKARRAY(ScummEngine, _charsetData[0][0], sleByte, 15 * 16, VER(10)),
- MKLINE(ScummEngine, _curExecScript, sleUint16, VER(8)),
+ MK_OBSOLETE(ScummEngine, _curExecScript, sleUint16, VER(8), VER(62)),
MKLINE(ScummEngine, camera._dest.x, sleInt16, VER(8)),
MKLINE(ScummEngine, camera._dest.y, sleInt16, VER(8)),
@@ -1280,7 +1280,7 @@ void ScummEngine_v90he::saveOrLoad(Serializer *s) {
MKLINE(FloodFillParameters, x, sleInt32, VER(51)),
MKLINE(FloodFillParameters, y, sleInt32, VER(51)),
MKLINE(FloodFillParameters, flags, sleInt32, VER(51)),
- MKLINE(FloodFillParameters, unk1C, sleInt32, VER(51)),
+ MK_OBSOLETE(FloodFillParameters, unk1C, sleInt32, VER(51), VER(62)),
MKEND()
};