From 3fbf207ee5dc9dab260b34cce5148696643ea1ba Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 5 Mar 2006 10:54:41 +0000 Subject: [PATCH] Update box flags for C64 maniac svn-id: r21093 --- engines/scumm/boxes.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/scumm/boxes.cpp b/engines/scumm/boxes.cpp index 1ab025c1b63..65b6ebd75c7 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