aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2011-04-04 13:04:10 +0200
committerMax Horn2011-04-04 13:04:17 +0200
commit6bd180646df50af6de80612f8c500dc6b473c345 (patch)
tree96aaa51e8358c9981108d2f731193e0a0b7839d2 /engines/scumm
parent0725be325f60fa578b918aaaaef1d5f4008d310a (diff)
downloadscummvm-rg350-6bd180646df50af6de80612f8c500dc6b473c345.tar.gz
scummvm-rg350-6bd180646df50af6de80612f8c500dc6b473c345.tar.bz2
scummvm-rg350-6bd180646df50af6de80612f8c500dc6b473c345.zip
SCUMM: Extend debug command 'object' to allow querying state
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp
index cf0ee0fa0a..63188c1d7a 100644
--- a/engines/scumm/debugger.cpp
+++ b/engines/scumm/debugger.cpp
@@ -479,7 +479,7 @@ bool ScummDebugger::Cmd_Object(int argc, const char **argv) {
//is BgNeedsRedraw enough?
_vm->_bgNeedsRedraw = true;
} else {
- DebugPrintf("object command 'state' requires a parameter\n");
+ DebugPrintf("State of object %d: %d\n", obj, _vm->getState(obj));
}
} else if (!strcmp(argv[2], "name")) {
DebugPrintf("Name of object %d: %s\n", obj, _vm->getObjOrActorName(obj));