diff options
author | Travis Howell | 2004-12-19 09:27:08 +0000 |
---|---|---|
committer | Travis Howell | 2004-12-19 09:27:08 +0000 |
commit | 9e4f76b180b2f369b238d618e7aebc57010f6a41 (patch) | |
tree | 06439c12e5e9a0ac5140179f19aabfddd0dd63ba | |
parent | 4e057c8885ce5dfcb8a9964f9247531a391dd341 (diff) | |
download | scummvm-rg350-9e4f76b180b2f369b238d618e7aebc57010f6a41.tar.gz scummvm-rg350-9e4f76b180b2f369b238d618e7aebc57010f6a41.tar.bz2 scummvm-rg350-9e4f76b180b2f369b238d618e7aebc57010f6a41.zip |
Off by one
svn-id: r16127
-rw-r--r-- | scumm/script_v6.cpp | 14 | ||||
-rw-r--r-- | scumm/script_v72he.cpp | 6 | ||||
-rw-r--r-- | scumm/script_v90he.cpp | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index dc99117e24..e0c929e891 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -819,7 +819,7 @@ void ScummEngine_v6::o6_jump() { } void ScummEngine_v6::o6_startScript() { - int args[24]; + int args[25]; int script, flags; getStackList(args, ARRAYSIZE(args)); @@ -857,7 +857,7 @@ void ScummEngine_v6::o6_startScript() { } void ScummEngine_v6::o6_jumpToScript() { - int args[24]; + int args[25]; int script, flags; getStackList(args, ARRAYSIZE(args)); @@ -868,7 +868,7 @@ void ScummEngine_v6::o6_jumpToScript() { } void ScummEngine_v6::o6_startScriptQuick() { - int args[24]; + int args[25]; int script; getStackList(args, ARRAYSIZE(args)); script = pop(); @@ -876,7 +876,7 @@ void ScummEngine_v6::o6_startScriptQuick() { } void ScummEngine_v6::o6_startScriptQuick2() { - int args[24]; + int args[25]; int script; getStackList(args, ARRAYSIZE(args)); script = pop(); @@ -884,7 +884,7 @@ void ScummEngine_v6::o6_startScriptQuick2() { } void ScummEngine_v6::o6_startObject() { - int args[24]; + int args[25]; int script, entryp; int flags; getStackList(args, ARRAYSIZE(args)); @@ -895,7 +895,7 @@ void ScummEngine_v6::o6_startObject() { } void ScummEngine_v6::o6_startObjectQuick() { - int args[24]; + int args[25]; int script, entryp; getStackList(args, ARRAYSIZE(args)); entryp = pop(); @@ -930,7 +930,7 @@ void ScummEngine_v6::o6_endCutscene() { } void ScummEngine_v6::o6_cutscene() { - int args[24]; + int args[25]; getStackList(args, ARRAYSIZE(args)); beginCutscene(args); } diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9f5193dbd7..7a0daa8734 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -727,7 +727,7 @@ void ScummEngine_v72he::o72_unknown5A() { } void ScummEngine_v72he::o72_startScript() { - int args[24]; + int args[25]; int script; byte flags; @@ -738,7 +738,7 @@ void ScummEngine_v72he::o72_startScript() { } void ScummEngine_v72he::o72_startObject() { - int args[24]; + int args[25]; int script, entryp; byte flags; @@ -1521,7 +1521,7 @@ void ScummEngine_v72he::o72_unknownCF() { } void ScummEngine_v72he::o72_jumpToScript() { - int args[24]; + int args[25]; int script; byte flags; diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp index 40a6b68828..629b0dc392 100644 --- a/scumm/script_v90he.cpp +++ b/scumm/script_v90he.cpp @@ -452,7 +452,7 @@ void ScummEngine_v90he::o90_getSegmentAngle() { } void ScummEngine_v90he::o90_startScriptUnk() { - int args[24]; + int args[25]; int script, cycle; byte flags; @@ -464,7 +464,7 @@ void ScummEngine_v90he::o90_startScriptUnk() { } void ScummEngine_v90he::o90_jumpToScriptUnk() { - int args[24]; + int args[25]; int script, cycle; byte flags; |