diff options
Diffstat (limited to 'engines/lure/debugger.cpp')
-rw-r--r-- | engines/lure/debugger.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp index 9ce6331db9..9b1bb743e4 100644 --- a/engines/lure/debugger.cpp +++ b/engines/lure/debugger.cpp @@ -352,15 +352,13 @@ bool Debugger::cmd_hotspot(int argc, const char **argv) { } else { if (strcmp(argv[2], "schedule") == 0) { // List any current schedule for the character - hs->npcSchedule.list(buffer); - DebugPrintf("%s", buffer); + DebugPrintf("%s", hs->npcSchedule.getDebugInfo().c_str()); } if (!h) DebugPrintf("The specified hotspot is not currently active\n"); else if (strcmp(argv[2], "paths") == 0) { // List any paths for a charcter - h->pathFinder().list(buffer); - DebugPrintf("%s", buffer); + DebugPrintf("%s", h->pathFinder().getDebugInfo().c_str()); } else if (strcmp(argv[2], "pixels") == 0) { // List the pixel data for the hotspot |