Fix goKneeling changing animation inside vehicle (1.60)

This commit is contained in:
jonpas 2016-06-04 19:57:49 +02:00
parent 48ab81ad87
commit 03a56b1f7d

View File

@ -1,6 +1,6 @@
/* /*
* Author: commy2 * Author: commy2
* Move unit to kneeling position. * Move unit to kneeling position (only if not yet prone).
* *
* Arguments: * Arguments:
* 0: Unit <OBJECT> * 0: Unit <OBJECT>
@ -14,7 +14,8 @@
params ["_unit"]; params ["_unit"];
if (stance _unit == "PRONE") exitWith {}; // Animation changes even inside vehicle post-1.60
if (stance _unit == "PRONE" || {vehicle ACE_player != ACE_player}) exitWith {};
[ [
_unit, _unit,