aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-05-18 02:22:26 +0000
committerMax Horn2003-05-18 02:22:26 +0000
commit1156abd532f1e3439e4f81e32aa05a558858c44c (patch)
tree782dff498fc25731922ec4ea7be2ef8058b3b8cb /scumm
parent0a8cdad264ee3208d16b09c970f66a8cf1f9c568 (diff)
downloadscummvm-rg350-1156abd532f1e3439e4f81e32aa05a558858c44c.tar.gz
scummvm-rg350-1156abd532f1e3439e4f81e32aa05a558858c44c.tar.bz2
scummvm-rg350-1156abd532f1e3439e4f81e32aa05a558858c44c.zip
wow, now this is a stupid bug... fixes various issues in Zak256 at the very least
svn-id: r7622
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 49e67ae26c..a3a3277eb3 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1093,7 +1093,7 @@ void Scumm_v5::o5_getClosestObjActor() {
}
} while (--obj >= VAR(VAR_ACTOR_RANGE_MIN));
- setResult(closest_dist);
+ setResult(closest_obj);
}
void Scumm_v5::o5_getDist() {