From 81c2211a9e0cd693c6d663f85ce1bc72aaabc308 Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Sat, 9 Mar 2002 12:32:19 +0000 Subject: Fixed the debug box tool svn-id: r3708 --- debug.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'debug.cpp') diff --git a/debug.cpp b/debug.cpp index 4f6ea160cc..e22a33af53 100644 --- a/debug.cpp +++ b/debug.cpp @@ -116,15 +116,16 @@ bool ScummDebugger::do_command() { num = _s->getNumBoxes(); printf("Walk matrix:\n"); - while (*boxm != 0xFF) { - printf("%d ", *boxm); - i++; *boxm++; - if (i >= num) {i = 0; rows++; printf("\n");} + for (i=0;i