diff options
author | Max Horn | 2002-08-04 13:03:33 +0000 |
---|---|---|
committer | Max Horn | 2002-08-04 13:03:33 +0000 |
commit | 2eb5944f6facc5b71292bcf0637d57407f1742a8 (patch) | |
tree | 06fd74e6964fa81bd8def3bc7683c6bbb291795c | |
parent | c0c306c39e78f1550002cdaae3ad14c56ca9990e (diff) | |
download | scummvm-rg350-2eb5944f6facc5b71292bcf0637d57407f1742a8.tar.gz scummvm-rg350-2eb5944f6facc5b71292bcf0637d57407f1742a8.tar.bz2 scummvm-rg350-2eb5944f6facc5b71292bcf0637d57407f1742a8.zip |
veeery stupid bug
svn-id: r4697
-rw-r--r-- | script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script_v2.cpp b/script_v2.cpp index 8e3f487da7..2f83b01fe1 100644 --- a/script_v2.cpp +++ b/script_v2.cpp @@ -1349,7 +1349,7 @@ void Scumm::o6_walkActorToObj() a2 = derefActorSafe(obj, "o6_walkActorToObj(2)"); if (!a2) return; - if (!a->isInCurrentRoom() || !a->isInCurrentRoom()) + if (!a->isInCurrentRoom() || !a2->isInCurrentRoom()) return; if (dist == 0) { dist = a2->scalex * a2->width / 0xFF; |