diff options
author | Travis Howell | 2006-03-05 10:54:41 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-05 10:54:41 +0000 |
commit | 3fbf207ee5dc9dab260b34cce5148696643ea1ba (patch) | |
tree | f241a4800548474581b665cf5473d49951e02425 | |
parent | 70dc40cc934e3d03e09b25a7678736c08a741900 (diff) | |
download | scummvm-rg350-3fbf207ee5dc9dab260b34cce5148696643ea1ba.tar.gz scummvm-rg350-3fbf207ee5dc9dab260b34cce5148696643ea1ba.tar.bz2 scummvm-rg350-3fbf207ee5dc9dab260b34cce5148696643ea1ba.zip |
Update box flags for C64 maniac
svn-id: r21093
-rw-r--r-- | engines/scumm/boxes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/boxes.cpp b/engines/scumm/boxes.cpp index 1ab025c1b6..65b6ebd75c 100644 --- a/engines/scumm/boxes.cpp +++ b/engines/scumm/boxes.cpp @@ -132,6 +132,8 @@ void ScummEngine::setBoxFlags(int box, int val) { return; if (_game.version == 8) ptr->v8.flags = TO_LE_32(val); + else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64) + ptr->c64.flags = val; else if (_game.version <= 2) ptr->v2.flags = val; else @@ -145,6 +147,8 @@ byte ScummEngine::getBoxFlags(int box) { return 0; if (_game.version == 8) return (byte) FROM_LE_32(ptr->v8.flags); + else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64) + return ptr->c64.flags; else if (_game.version <= 2) return ptr->v2.flags; else |