From a5ff34e1d8f9b6a2fab85e79fc8b5c8da00e13b9 Mon Sep 17 00:00:00 2001 From: esteldunedain Date: Fri, 3 Apr 2015 20:49:40 -0300 Subject: [PATCH] Keep cursored menus always centered. Fix #299. --- 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 a2f9d929c1..e14b69472c 100644 --- a/addons/interact_menu/functions/fnc_renderActionPoints.sqf +++ b/addons/interact_menu/functions/fnc_renderActionPoints.sqf @@ -89,7 +89,7 @@ _fnc_renderSelfActions = { { _action = _x; - _pos = if !(visibleMap) then { + _pos = if !(GVAR(useCursorMenu)) then { (((positionCameraToWorld [0, 0, 0]) call EFUNC(common,positionToASL)) vectorAdd GVAR(selfMenuOffset)) call EFUNC(common,ASLToPosition) } else { [0.5, 0.5]