mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
SCUMM: Fix argc check in Cmd_Script()
This commit is contained in:
parent
ec16861ec9
commit
d582c8492c
@ -256,7 +256,7 @@ bool ScummDebugger::Cmd_Hide(int argc, const char **argv) {
|
||||
bool ScummDebugger::Cmd_Script(int argc, const char** argv) {
|
||||
int scriptnum;
|
||||
|
||||
if (argc < 2) {
|
||||
if (argc < 3) {
|
||||
debugPrintf("Syntax: script <scriptnum> <command>\n");
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user