aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-26 22:37:36 +0000
committerMax Horn2003-05-26 22:37:36 +0000
commit2885a8a84e01e3e074f86615487e8cd34390aea6 (patch)
treef1e950c4d4caa720e42a4eb09ffe6a5bcea94a7e
parent18eca52743fb85f12a35d1d6f7644584499fa721 (diff)
downloadscummvm-rg350-2885a8a84e01e3e074f86615487e8cd34390aea6.tar.gz
scummvm-rg350-2885a8a84e01e3e074f86615487e8cd34390aea6.tar.bz2
scummvm-rg350-2885a8a84e01e3e074f86615487e8cd34390aea6.zip
tightened hack condition a bit
svn-id: r8027
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 3ced617074..b1a16a550b 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1004,7 +1004,7 @@ void Scumm_v6::o6_walkActorToObj() {
a->startWalkActor(x, y, dir);
} else {
a2 = derefActorSafe(obj, "o6_walkActorToObj(2)");
- if (a2 == 0) {
+ if (_gameId == GID_SAMNMAX && a2 == 0) {
// FIXME: This is a hack to work around bug #742676 SAM: Fish Farm.
// Note quite sure why it happens, though, if it's normal or due to
// a bug in the ScummVM code.