aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-04-23 05:10:17 +0000
committerJonathan Gray2003-04-23 05:10:17 +0000
commit8fdcf48fc52924711f9c5d3ed04e4dedf030665c (patch)
tree41a28cbf5b153a139619fd5bc21778e115b037cc /scumm/debugger.cpp
parent8d39d6ddb14f9403033ef897ce64e9586036ceb9 (diff)
downloadscummvm-rg350-8fdcf48fc52924711f9c5d3ed04e4dedf030665c.tar.gz
scummvm-rg350-8fdcf48fc52924711f9c5d3ed04e4dedf030665c.tar.bz2
scummvm-rg350-8fdcf48fc52924711f9c5d3ed04e4dedf030665c.zip
hmm
svn-id: r7083
Diffstat (limited to 'scumm/debugger.cpp')
-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);