Fixed incorrect animation function call

This commit is contained in:
Glowbal 2015-02-21 21:28:59 +01:00
parent 909a87fdd3
commit 72e2690b81

View File

@ -78,10 +78,10 @@ _callerAnim = getText (_config >> "animationCaller");
_patietAnim = getText (_confg >> "animationPatient"); _patietAnim = getText (_confg >> "animationPatient");
if (_caller != _target && {vehicle _target == _target} && {_patietAnim != ""}) then { if (_caller != _target && {vehicle _target == _target} && {_patietAnim != ""}) then {
[_target, _patietAnim] call EFUNC(common,doMove); [_target, _patietAnim] call EFUNC(common,doAnimation);
}; };
if (vehicle _caller == _caller && {_callerAnim != ""}) then { if (vehicle _caller == _caller && {_callerAnim != ""}) then {
[_caller, _callerAnim] call EFUNC(common,doMove); [_caller, _callerAnim] call EFUNC(common,doAnimation);
}; };
true; true;