diff options
-rw-r--r-- | engines/bladerunner/debugger.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/bladerunner/debugger.cpp b/engines/bladerunner/debugger.cpp index eb188b3ede..902c0d79f0 100644 --- a/engines/bladerunner/debugger.cpp +++ b/engines/bladerunner/debugger.cpp @@ -432,7 +432,15 @@ bool Debugger::cmdScene(int argc, const char **argv) { return false; } - debugPrintf("chapter = %i\nset = %i\nscene = %i\n", _vm->_settings->getChapter(), _vm->_scene->getSetId(), _vm->_scene->getSceneId()); + uint i; + for (i = 0; sceneList[i].chapter != 0; i++) { + if (sceneList[i].chapter == _vm->_settings->getChapter() && sceneList[i].set == _vm->_scene->getSetId() + && sceneList[i].scene == _vm->_scene->getSceneId()) + break; + } + + debugPrintf("chapter = %i\nset = %i\nscene = %i '%s'\n", _vm->_settings->getChapter(), _vm->_scene->getSetId(), + _vm->_scene->getSceneId(), sceneList[i].name); return true; } |