diff options
author | Travis Howell | 2004-09-30 06:39:39 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-30 06:39:39 +0000 |
commit | 3e4fd97f428b736f88a2e94b16ad3ce67d7ece92 (patch) | |
tree | 693fcc6ed7764ca0a95ae5ca7c7891a9b4b9cc6b /scumm/saveload.cpp | |
parent | 13c0d340a083243c59ce6fc5e863575e9b4bf109 (diff) | |
download | scummvm-rg350-3e4fd97f428b736f88a2e94b16ad3ce67d7ece92.tar.gz scummvm-rg350-3e4fd97f428b736f88a2e94b16ad3ce67d7ece92.tar.bz2 scummvm-rg350-3e4fd97f428b736f88a2e94b16ad3ce67d7ece92.zip |
Number of local scripts is no longer constant
svn-id: r15352
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 364af53bc1..5d071f1594 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -449,7 +449,7 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) { MKLINE(ScummEngine, _roomResource, sleByte, VER(8)), MKLINE(ScummEngine, _numObjectsInRoom, sleByte, VER(8)), MKLINE(ScummEngine, _currentScript, sleByte, VER(8)), - MKARRAY(ScummEngine, _localScriptList[0], sleUint32, NUM_LOCALSCRIPT, VER(8)), + MKARRAY(ScummEngine, _localScriptList[0], sleUint32, _numLocalScripts, VER(8)), // vm.localvar grew from 25 to 40 script entries and then from |