aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-09-11 18:23:53 +0000
committerMax Horn2003-09-11 18:23:53 +0000
commit6aa7a63ea0858ebf26e4f1db1c855cc774e584d4 (patch)
tree72c3d69eae5c413ad63e42febcbc442cc055bcaf /scumm
parentce7e59e1ae9685aa0b106e20ff7098cbd941829c (diff)
downloadscummvm-rg350-6aa7a63ea0858ebf26e4f1db1c855cc774e584d4.tar.gz
scummvm-rg350-6aa7a63ea0858ebf26e4f1db1c855cc774e584d4.tar.bz2
scummvm-rg350-6aa7a63ea0858ebf26e4f1db1c855cc774e584d4.zip
fix V1/V2 walkmatrix debug command
svn-id: r10177
Diffstat (limited to 'scumm')
-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) {