From af012fe370d95e1631d577fee1a08d7474677fae Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Feb 2006 10:09:33 +0000 Subject: fixing my accidentally commited debugger change svn-id: r20517 --- scumm/debugger.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scumm') diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index 437f0a28e5..e14e9a36f0 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -454,6 +454,8 @@ bool ScummDebugger::Cmd_PrintObjects(int argc, const char **argv) { for (i = 1; i < _vm->_numLocalObjects ; i++) { o = &(_vm->_objs[i]); + if (o->obj_nr == 0) + continue; DebugPrintf("|%4d|%4d|%4d|%5d|%6d|%5d|%2d|$%08x|\n", o->obj_nr, o->x_pos, o->y_pos, o->width, o->height, o->state, o->fl_object_index, _vm->_classData[o->obj_nr]); -- cgit v1.2.3