Removed rouge debug code & dead code

This commit is contained in:
Glowbal 2015-02-01 11:14:21 +01:00
parent 3f0b6650e0
commit 96e0d0e758
2 changed files with 0 additions and 4 deletions

View File

@ -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];

View File

@ -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];