Quick Mount - Fix mount from water (#6310)

This commit is contained in:
Dystopian 2018-04-28 22:34:52 +03:00 committed by PabstMirror
parent 265bc62259
commit 2454ade07b

View File

@ -37,7 +37,7 @@ TRACE_1("",_target);
if (!isNull _target &&
{alive _target} &&
{{_target isKindOf _x} count ["Air","LandVehicle","Ship","StaticMortar"] > 0} &&
{([ACE_player, _target] call EFUNC(common,canInteractWith))} &&
{([ACE_player, _target, ["isNotSwimming"]] call EFUNC(common,canInteractWith))} &&
{speed _target <= GVAR(speed)}
) then {