Fix adv. throw key handling when reloading (#5336)

* Fix throw key handling when reloading

* Consider UGL reload to ace_common_isReloading var

* Fix if space, change private var assign

* Shorten UGL check
This commit is contained in:
Dystopian
2017-07-10 22:44:02 +03:00
committed by jonpas
parent 84061cb593
commit dd3a66a643
3 changed files with 4 additions and 2 deletions

View File

@ -32,6 +32,5 @@ GVAR(enabled) &&
#endif
{!(call EFUNC(common,isFeatureCameraActive))} &&
{!EGVAR(common,isReloading)} &&
{[_unit, objNull, ["isNotInside", "isNotSitting"/*, "isNotOnLadder"*/]] call EFUNC(common,canInteractWith)} && // Ladder needs positioning fixes on throw
{_unit call CBA_fnc_canUseWeapon} // Disable in non-FFV seats due to surface detection issues