diff options
-rw-r--r-- | engines/lure/debugger.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp index 5eeb42d4a9..7e8b8a16ec 100644 --- a/engines/lure/debugger.cpp +++ b/engines/lure/debugger.cpp @@ -351,6 +351,11 @@ bool Debugger::cmd_hotspot(int argc, const char **argv) { DebugPrintf("Deactivated\n"); } else { + if (strcmp(argv[2], "schedule") == 0) { + // List any current schedule for the character + hs->npcSchedule.list(buffer); + DebugPrintf("%s", buffer); + } if (!h) DebugPrintf("The specified hotspot is not currently active\n"); else if (strcmp(argv[2], "paths") == 0) { @@ -358,11 +363,6 @@ bool Debugger::cmd_hotspot(int argc, const char **argv) { h->pathFinder().list(buffer); DebugPrintf("%s", buffer); } - else if (strcmp(argv[2], "schedule") == 0) { - // List any current schedule for the character - h->currentActions().list(buffer); - DebugPrintf("%s", buffer); - } else if (strcmp(argv[2], "pixels") == 0) { // List the pixel data for the hotspot HotspotAnimData &pData = h->anim(); |