mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup unused variable (#8074)
This commit is contained in:
parent
6522dba87e
commit
4acfc35e77
@ -59,8 +59,8 @@
|
||||
#define MOVE_IN_CODE(command) (_this select 0) command (_this select 1)
|
||||
|
||||
private _fnc_move = {
|
||||
(_this select 2) params ["_moveInCode", "_moveInParams", "_currentTurret", "_moveBackCode", "_moveBackParams", ["_enabledByAnimationSource", ""]];
|
||||
TRACE_7("fnc_move params",_moveInCode,_moveInParams,_currentTurret,_moveBackCode,_moveBackParams,_enabledByAnimationSource,call {GVAR(frame)=diag_frameno});
|
||||
(_this select 2) params ["_moveInCode", "_moveInParams", "_currentTurret", "_moveBackCode", "_moveBackParams"];
|
||||
TRACE_6("fnc_move params",_moveInCode,_moveInParams,_currentTurret,_moveBackCode,_moveBackParams,call {GVAR(frame)=diag_frameno});
|
||||
|
||||
// workaround getting damage when moveOut while vehicle is moving
|
||||
// also this helps with arma bug when unit is stuck in wrong anim when move in turret with configured enabledByAnimationSource
|
||||
@ -208,7 +208,7 @@ private _cargoNumber = -1;
|
||||
private _gunnerCompartments = (_turretConfig >> "gunnerCompartments") call BIS_fnc_getCfgData;
|
||||
TO_COMPARTMENT_STRING(_gunnerCompartments);
|
||||
if (_compartment != _gunnerCompartments) then {breakTo "crewLoop"};
|
||||
_params = [{MOVE_IN_CODE(moveInTurret)}, [_vehicle, _turretPath], _currentTurret, _moveBackCode, _moveBackParams, _enabledByAnimationSource];
|
||||
_params = [{MOVE_IN_CODE(moveInTurret)}, [_vehicle, _turretPath], _currentTurret, _moveBackCode, _moveBackParams];
|
||||
_statement = _fnc_move;
|
||||
};
|
||||
_name = getText (_turretConfig >> "gunnerName");
|
||||
|
Loading…
Reference in New Issue
Block a user