mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
This isn't worthy of a warning as most of the time _objectHit is null is due to the projectile hitting the ground
This commit is contained in:
parent
f485b5a9ea
commit
dae81be848
@ -24,7 +24,7 @@ params ["_objectHit", "_roundType", "_round", "_oldPosASL", "_oldVelocity", "_sh
|
||||
|
||||
TRACE_6("",_objectHit,_roundType,_round,_oldPosASL,_oldVelocity,_shotParents);
|
||||
if ((isNil "_objectHit") || {isNull _objectHit}) exitWith {
|
||||
WARNING_1("Problem with hitPart data - bad object [%1]",_objectHit);
|
||||
TRACE_1("Problem with hitPart data - bad object [%1]",_objectHit);
|
||||
};
|
||||
|
||||
private _caliber = getNumber (configFile >> "CfgAmmo" >> _roundType >> "caliber");
|
||||
|
Loading…
Reference in New Issue
Block a user