Fixed variable names and mislabeled inequalities

This commit is contained in:
lambdatiger 2024-01-09 00:25:58 -06:00
parent af40eb1d5e
commit fe310760fc
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ PREP_RECOMPILE_END;
GVAR(materialSpallCache) = createHashMap;
GVAR(spallRoundCache) = createHashMap;
GVAR(lastSpallTime) = -2;
GVAR(shouldFragCache) = createHashMap;
GVAR(fragInfoCache) = createHashMap;

View File

@ -29,7 +29,7 @@ TRACE_3("",_proj,_posASL,_vel);
private _shotParents = getShotParents _proj;
private _shotParentVic = _shotParents#0;
if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] < CBA_missionTime) exitWith {
if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] > CBA_missionTime) exitWith {
TRACE_1("vehicleTimeExit",_shotParentVic);
};
_shotParentVic setVariable [QGVAR(nextFragTime), CBA_missionTime + ACE_FRAG_HOLDOFF];