#2178 - Fix treatment when weapon deployed

This commit is contained in:
PabstMirror 2015-08-16 13:58:58 -05:00
parent 14b5d62a56
commit 21f46f4401

View File

@ -176,6 +176,11 @@ if (vehicle _caller == _caller && {_callerAnim != ""}) then {
_caller selectWeapon (primaryWeapon _caller); // unit always has a primary weapon here
};
if (isWeaponDeployed _caller) then {
TRACE_1("Weapon Deployed, breaking out first",(stance _caller));
[_caller, "", 0] call EFUNC(common,doAnimation);
};
if (stance _caller == "STAND") then {
_caller setvariable [QGVAR(treatmentPrevAnimCaller), "amovpknlmstpsraswrfldnon"];
} else {