aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/boxes.cpp4
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