SCUMM: Fix argc check in Cmd_Script()

This commit is contained in:
Torbjörn Andersson 2015-03-22 12:22:30 +01:00
parent ec16861ec9
commit d582c8492c

View File

@ -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;
}