mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix changeProjectileDirection
This commit is contained in:
parent
35129a7a41
commit
aec9962121
@ -19,10 +19,11 @@ private ["_projectile", "_adjustDir", "_adjustUp", "_adjustSpeed", "_vdir", "_di
|
||||
_projectile = _this select 0;
|
||||
_adjustDir = _this select 1;
|
||||
_adjustUp = _this select 2;
|
||||
_adjustSpeed = _this select 3;
|
||||
|
||||
if (isNil "_adjustSpeed") then {
|
||||
_adjustSpeed = 0;
|
||||
_adjustSpeed = if (count _this > 3) then {
|
||||
_this select 3
|
||||
} else {
|
||||
0
|
||||
};
|
||||
|
||||
["CPD", [_fnc_scriptNameParent, _adjustDir, _adjustUp, _adjustSpeed], nil, false] call FUNC(log);
|
||||
|
Loading…
Reference in New Issue
Block a user