diff options
-rw-r--r-- | engines/glk/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/debugger.cpp b/engines/glk/debugger.cpp index 2f13f6bfbd..5978ddb486 100644 --- a/engines/glk/debugger.cpp +++ b/engines/glk/debugger.cpp @@ -75,7 +75,7 @@ bool Debugger::cmdDumpPic(int argc, const char **argv) { } else { debugPrintf("Could not find specified picture\n"); } - } else if (f.exists(Common::String::format("pic%d.rect"))) { + } else if (f.exists(Common::String::format("pic%d.rect", picNum))) { debugPrintf("Picture is only a placeholder rectangle\n"); } else if (f.open(Common::String::format("pic%d.raw", picNum))) { // Raw picture |