mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup.
This commit is contained in:
parent
cef4152407
commit
354e84e058
@ -21,11 +21,8 @@ TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectil
|
|||||||
private "_player";
|
private "_player";
|
||||||
_player = ACE_player;
|
_player = ACE_player;
|
||||||
|
|
||||||
//exit if it's a thrown weapon
|
//If we're not in NVG mode, or it's a grenade, exit
|
||||||
if (_weapon == "Throw") exitWith {};
|
if (((currentVisionMode _player) != 1) || {_weapon == "Throw"}) exitWith {};
|
||||||
|
|
||||||
//If our vehicle didn't shoot, or we're not in NVG mode, exit
|
|
||||||
if ((currentVisionMode _player) != 1) exitWith {};
|
|
||||||
|
|
||||||
private["_darkness", "_nvgBrightnessCoef", "_silencer", "_visibleFire", "_visibleFireCoef", "_visibleFireTime", "_visibleFireTimeCoef"];
|
private["_darkness", "_nvgBrightnessCoef", "_silencer", "_visibleFire", "_visibleFireCoef", "_visibleFireTime", "_visibleFireTimeCoef"];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user