fix some problems with transitions from lowered weapon animations

This commit is contained in:
commy2 2016-09-29 19:15:16 +02:00
parent 2c7864c02b
commit d3f6f040cd

View File

@ -100,6 +100,9 @@ private _animDuration = GVAR(animDurations) getVariable _callerAnim;
// these animations have transitions that take a bit longer...
if (weaponLowered _caller) then {
_animDuration = _animDuration + 0.5;
// fix problems with lowered weapon transitions by raising the weapon first
_caller action ["WeaponInHand", _caller];
};
if (binocular _caller != "" && {binocular _caller == currentWeapon _caller}) then {