aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/debugger.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-05-09 15:37:13 +0300
committerThanasis Antoniou2019-05-09 15:37:13 +0300
commitb1a0ed0d93e1f080083edb4782249e766f1f1b43 (patch)
tree89e4879d0681b354ded84a345199504542819ec7 /engines/bladerunner/debugger.cpp
parent074baf9b26fcb4efac67b71bea7bf0f979bb7a8f (diff)
downloadscummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.tar.gz
scummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.tar.bz2
scummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.zip
BLADERUNNER: debugger includes McCoy id for list act
Diffstat (limited to 'engines/bladerunner/debugger.cpp')
-rw-r--r--engines/bladerunner/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/debugger.cpp b/engines/bladerunner/debugger.cpp
index 711a965ab4..d19e221c80 100644
--- a/engines/bladerunner/debugger.cpp
+++ b/engines/bladerunner/debugger.cpp
@@ -1588,7 +1588,7 @@ bool Debugger::cmdList(int argc, const char **argv) {
} else if (argc == 3) {
// list properties for specific actor regardless of the set/ scene they are in
int actorId = atoi(argv[2]);
- if (actorId > 0 && actorId < _vm->kActorCount) {
+ if (actorId >= 0 && actorId < _vm->kActorCount) {
debugPrintf("Showing properties for actor: %d:%s \n", actorId, _vm->_textActorNames->getText(actorId));
Actor *actor = _vm->_actors[actorId];