From 9cc0e64b46f60b3c5a73fd7caa15a40810a852ad Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 23 Jul 2016 14:07:03 -0500 Subject: [PATCH] Fix spectator map click not changing cam pos Fix #3842 PFEH FUNC(handleCamera) will set camera position using GVAR(camPos) --- addons/spectator/functions/fnc_setCameraAttributes.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/spectator/functions/fnc_setCameraAttributes.sqf b/addons/spectator/functions/fnc_setCameraAttributes.sqf index f908b30b76..fac9c94059 100644 --- a/addons/spectator/functions/fnc_setCameraAttributes.sqf +++ b/addons/spectator/functions/fnc_setCameraAttributes.sqf @@ -60,7 +60,7 @@ GVAR(camZoom) = (_zoom min 2) max 0.01; // Apply if camera exists if (GVAR(isSet)) then { - GVAR(freeCamera) setPosATL _position; + GVAR(camPos) = (ATLtoASL _position); // Camera position will be updated in FUNC(handleCamera) [_mode,_unit,_vision] call FUNC(transitionCamera); } else { GVAR(camMode) = _mode;