mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Remove unneeded isKindOf "Man" checks
"Man" includes animals and zombies: https://community.bistudio.com/wiki/ArmA_2:_CfgVehicles#Man_Class_Vehicles
This commit is contained in:
@@ -13,7 +13,7 @@ private ["_handled"];
|
||||
_arc = 60;
|
||||
_isBallistic = (getNumber (configfile >> "CfgAmmo" >> _ammo >> "whistleOnFire") > 0);
|
||||
_dmgDistance = getNumber (configfile >> "CfgAmmo" >> _ammo >> "whistleDist");
|
||||
_isRocket = ((_ammo isKindOf "RocketBase") && (_firer isKindOf "Man"));
|
||||
_isRocket = ((_ammo isKindOf "RocketBase") && (_firer isKindOf "CAManBase"));
|
||||
_isPlayer = (_unit == player);
|
||||
_inVehicle = (vehicle _unit != _unit);
|
||||
//_evType = "";
|
||||
|
||||
Reference in New Issue
Block a user