fix V1/V2 walkmatrix debug command

svn-id: r10177
This commit is contained in:
Max Horn 2003-09-11 18:23:53 +00:00
parent ce7e59e1ae
commit 6aa7a63ea0

View File

@ -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) {