From 2f1639822c124b1072e340cd86cdd85fd0a06941 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Sat, 25 Jul 2015 12:58:38 +0100 Subject: [PATCH] Fix incorrect variable --- 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 b202e2c4ab..a1a9ec7bda 100644 --- a/addons/spectator/functions/fnc_setCameraAttributes.sqf +++ b/addons/spectator/functions/fnc_setCameraAttributes.sqf @@ -53,7 +53,7 @@ if !(_vision in GVAR(availableVisions)) then { GVAR(camPan) = ((_heading % 360) max 0); GVAR(camPosition) = (ATLtoASL _position); GVAR(camSpeed) = (_speed max 0.05) min 10; -GVAR(camTilt) = (_heading max -89) min 89; +GVAR(camTilt) = (_tilt max -89) min 89; GVAR(camUnit) = _unit; GVAR(camVision) = _vision; GVAR(camZoom) = (_zoom min 2) max 0.01;