diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 9807848e857..87fccc747b8 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -1673,7 +1673,9 @@ bool Console::cmdClassTable(int argc, const char **argv) { className, PRINT_REG(temp.reg), temp.script); - } else debugPrintf(" Class 0x%x (not loaded; can't get name) (script %d)\n", i, temp.script); + } + } else if (argc == 1) { + debugPrintf(" Class 0x%x (not loaded; can't get name) (script %d)\n", i, temp.script); } }