1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

Merge pull request from acemod/spectatorMap

Fix spectator map click not changing cam pos
This commit is contained in:
SilentSpike 2016-07-23 20:18:25 +01:00 committed by GitHub
commit 695101a914

View File

@ -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;