aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 216c201f7f..8681a7f170 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1,3 +1,4 @@
+
/* ScummVM - Scumm Interpreter
* Copyright (C) 2001 Ludvig Strigeus
* Copyright (C) 2001-2004 The ScummVM project
@@ -3124,7 +3125,7 @@ void ScummEngine_v6::o6_setBoxSet() {
if (!boxm)
error("ScummEngine_v6::o6_setBoxSet: Can't find mboxes for set %d", arg);
- mboxSize = READ_BE_UINT32(boxd + 4);
+ mboxSize = READ_BE_UINT32(boxm + 4);
matrix = createResource(rtMatrix, 1, mboxSize);
assert(matrix);