aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2004-09-23 19:49:59 +0000
committerGregory Montoir2004-09-23 19:49:59 +0000
commit9f97086b2f4bfff508f010fea3ee96fe307422cd (patch)
tree30ebfdf06a96de3b08df68d80d7a4cf60462b5fa
parent17ec22c7fa2c6285e824b2a435171d84fe1d0ea1 (diff)
downloadscummvm-rg350-9f97086b2f4bfff508f010fea3ee96fe307422cd.tar.gz
scummvm-rg350-9f97086b2f4bfff508f010fea3ee96fe307422cd.tar.bz2
scummvm-rg350-9f97086b2f4bfff508f010fea3ee96fe307422cd.zip
match TheDig and PuttMoon disasm, maybe this will fix fbear crash ?
svn-id: r15245
-rw-r--r--scumm/script_v6.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 3d75a883cf..c5bcc106ea 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -3074,8 +3074,7 @@ void ScummEngine_v6::o6_setBoxSet() {
//FIXME Causes glitches and game to crash
// Only used in fbear when leaving the basement
- int arg = pop();
- return;
+ int arg = pop() - 1;
const byte *room = getResourceAddress(rtRoom, _roomResource);
const byte *boxd = NULL, *boxm = NULL;