aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/debugger.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index ac71033331..6e1d597348 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -407,10 +407,11 @@ bool ScummDebugger::Cmd_Script(int argc, const char** argv) {
scriptnum = atoi(argv[1]);
- if (scriptnum >= _s->_maxScripts) {
- Debug_Printf("Script number %d is out of range (range: 1 - %d)\n", scriptnum, _s->_maxScripts);
- return true;
- }
+ // FIXME: what is the max range on these?
+ // if (scriptnum >= _s->_maxScripts) {
+ // Debug_Printf("Script number %d is out of range (range: 1 - %d)\n", scriptnum, _s->_maxScripts);
+ // return true;
+ //}
if ((!strcmp(argv[2], "kill")) || (!strcmp(argv[2], "stop"))) {
_s->stopScriptNr(scriptnum);