aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorMax Horn2006-02-11 10:09:33 +0000
committerMax Horn2006-02-11 10:09:33 +0000
commitaf012fe370d95e1631d577fee1a08d7474677fae (patch)
treecb1b1d5adba3d67f971c3756eef93c1cc682b813 /scumm/debugger.cpp
parent4c26c0792c6ce186d93257b4979f12c5cb11eac5 (diff)
downloadscummvm-rg350-af012fe370d95e1631d577fee1a08d7474677fae.tar.gz
scummvm-rg350-af012fe370d95e1631d577fee1a08d7474677fae.tar.bz2
scummvm-rg350-af012fe370d95e1631d577fee1a08d7474677fae.zip
fixing my accidentally commited debugger change
svn-id: r20517
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp2
1 files changed, 2 insertions, 0 deletions
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]);