mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Removed rouge debug code & dead code
This commit is contained in:
parent
3f0b6650e0
commit
96e0d0e758
@ -14,8 +14,6 @@
|
||||
|
||||
EXPLODE_3_PVT(_this,_unit,_vehicle,_weapon);
|
||||
|
||||
systemChat format["restingWeapon %1", _this];
|
||||
|
||||
if (_weapon != primaryWeapon _unit) exitWith {};
|
||||
|
||||
if (_unit getVariable ["ACE_weaponRested", false]) exitWith {_this call FUNC(unRestWeapon)};
|
||||
@ -36,7 +34,6 @@ if (true in _intersects) then {
|
||||
// REST THE WEAPON
|
||||
addCamShake CAMSHAKE;
|
||||
playSound QGVAR(rest);
|
||||
// playSound3D [QUOTE(PATHTOF(sounds\weaponrest_rest.wav)), _unit];
|
||||
|
||||
if ([_weapon] call FUNC(hasBipod) && {_intersects select 3}) then {
|
||||
_unit setVariable ["ACE_bipodDeployed", true];
|
||||
|
@ -44,7 +44,6 @@ if (_unit getVariable ["ACE_bipodDeployed", false]) then {
|
||||
[localize "STR_ACE_Resting_WeaponLifted", _picture] call EFUNC(common,displayTextPicture);
|
||||
};
|
||||
playSound QGVAR(unrest);
|
||||
//playSound3D [QUOTE(PATHTOF(sounds\weaponrest_unrest.wav)), _unit];
|
||||
|
||||
_unit setVariable ["ACE_weaponRested", false];
|
||||
_unit setVariable ["ACE_bipodDeployed", false];
|
||||
|
Loading…
Reference in New Issue
Block a user