diff options
author | Thanasis Antoniou | 2019-05-09 15:37:13 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-09 15:37:13 +0300 |
commit | b1a0ed0d93e1f080083edb4782249e766f1f1b43 (patch) | |
tree | 89e4879d0681b354ded84a345199504542819ec7 | |
parent | 074baf9b26fcb4efac67b71bea7bf0f979bb7a8f (diff) | |
download | scummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.tar.gz scummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.tar.bz2 scummvm-rg350-b1a0ed0d93e1f080083edb4782249e766f1f1b43.zip |
BLADERUNNER: debugger includes McCoy id for list act
-rw-r--r-- | engines/bladerunner/debugger.cpp | 2 |
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]; |