Merge pull request #3177 from acemod/fixJavelinZeus

Javelin - Fix zeus RC after switchCamera
This commit is contained in:
Thomas Kooi 2016-01-19 09:36:08 +01:00
commit aa535c9167

View File

@ -65,6 +65,10 @@ _newTarget = objNull;
// Bail on fast movement
if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
ACE_player switchCamera "INTERNAL";
if (player != ACE_player) then {
TRACE_2("Zeus, manually reseting RC after switchCamera",player,ACE_player);
player remoteControl ACE_player;
};
};
// Refresh the firemode