diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v5.cpp | 2 |
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() { |