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:
lambdatiger 2024-08-24 12:28:16 -05:00
parent f485b5a9ea
commit dae81be848

View File

@ -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");