aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-07-24 13:30:26 +0000
committerTravis Howell2009-07-24 13:30:26 +0000
commit035dad7b3c91da84d23e682cc11897d05e12b319 (patch)
tree4a299afb11307066176dbbefb72f1c1f53606742
parent171061894b8dd1903ab2dbe212b2e4ea7690b9d5 (diff)
downloadscummvm-rg350-035dad7b3c91da84d23e682cc11897d05e12b319.tar.gz
scummvm-rg350-035dad7b3c91da84d23e682cc11897d05e12b319.tar.bz2
scummvm-rg350-035dad7b3c91da84d23e682cc11897d05e12b319.zip
Adjust workaround for bug #2826144, to use hard coded offset, that should be safe in all language versions.
svn-id: r42695
-rw-r--r--engines/scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v6.cpp b/engines/scumm/script_v6.cpp
index c01d573a79..6df3c0c494 100644
--- a/engines/scumm/script_v6.cpp
+++ b/engines/scumm/script_v6.cpp
@@ -706,7 +706,7 @@ void ScummEngine_v6::o6_jump() {
// he's let you inside, will cause the game to hang, if you end the conversation.
// This is a script bug, due to a missing jump in one segment of the script.
if (_game.id == GID_SAMNMAX && vm.slot[_currentScript].number == 101 && readVar(0x8000 + 97) == 1 && offset == 1) {
- offset = 1984;
+ offset = -18;
}
_scriptPointer += offset;