From b8e038858116874c00f4faf0f608f12675330a78 Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Sat, 11 Apr 2015 11:12:40 -0300 Subject: [PATCH] Fix nearestObjects with getPos choking over seawater. Fix #465 --- addons/interact_menu/functions/fnc_renderActionPoints.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/interact_menu/functions/fnc_renderActionPoints.sqf b/addons/interact_menu/functions/fnc_renderActionPoints.sqf index e14b69472c..45c0c46a61 100644 --- a/addons/interact_menu/functions/fnc_renderActionPoints.sqf +++ b/addons/interact_menu/functions/fnc_renderActionPoints.sqf @@ -23,7 +23,7 @@ _fnc_renderNearbyActions = { #define MAXINTERACTOBJECTS 3 _numInteractObjects = 0; - _nearestObjects = nearestObjects [(getPos ACE_player), ["All"], 15]; + _nearestObjects = nearestObjects [ACE_player, ["All"], 15]; { _target = _x;