Reset animation speed when not swimming (#4546)

This commit is contained in:
PabstMirror 2016-10-15 04:41:03 -05:00 committed by Glowbal
parent 84cbd50582
commit fe35e64696

View File

@ -60,6 +60,9 @@ if (GVAR(ppeBlackoutLast) == 1) then {
if (GVAR(isSwimming)) exitWith {
_unit setAnimSpeedCoef (1 - _fatigue / 3);
};
if ((getAnimSpeedCoef _unit) != 1) then {
_unit setAnimSpeedCoef 1;
};
if (_overexhausted) then {
[_unit, "forceWalk", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);