aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 8520026c5a..771594b827 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -813,6 +813,8 @@ bool ScummDebugger::Cmd_PrintBoxMatrix(int argc, const char **argv) {
int i, j;
Debug_Printf("Walk matrix:\n");
+ if (_s->_version <= 2)
+ boxm += num;
for (i = 0; i < num; i++) {
Debug_Printf("%d: ", i);
if (_s->_version <= 2) {