diff options
author | Max Horn | 2003-09-11 18:23:53 +0000 |
---|---|---|
committer | Max Horn | 2003-09-11 18:23:53 +0000 |
commit | 6aa7a63ea0858ebf26e4f1db1c855cc774e584d4 (patch) | |
tree | 72c3d69eae5c413ad63e42febcbc442cc055bcaf /scumm | |
parent | ce7e59e1ae9685aa0b106e20ff7098cbd941829c (diff) | |
download | scummvm-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.cpp | 2 |
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) { |