mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed variable names and mislabeled inequalities
This commit is contained in:
parent
af40eb1d5e
commit
fe310760fc
@ -9,6 +9,7 @@ PREP_RECOMPILE_END;
|
|||||||
|
|
||||||
GVAR(materialSpallCache) = createHashMap;
|
GVAR(materialSpallCache) = createHashMap;
|
||||||
GVAR(spallRoundCache) = createHashMap;
|
GVAR(spallRoundCache) = createHashMap;
|
||||||
|
GVAR(lastSpallTime) = -2;
|
||||||
|
|
||||||
GVAR(shouldFragCache) = createHashMap;
|
GVAR(shouldFragCache) = createHashMap;
|
||||||
GVAR(fragInfoCache) = createHashMap;
|
GVAR(fragInfoCache) = createHashMap;
|
||||||
|
@ -29,7 +29,7 @@ TRACE_3("",_proj,_posASL,_vel);
|
|||||||
|
|
||||||
private _shotParents = getShotParents _proj;
|
private _shotParents = getShotParents _proj;
|
||||||
private _shotParentVic = _shotParents#0;
|
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);
|
TRACE_1("vehicleTimeExit",_shotParentVic);
|
||||||
};
|
};
|
||||||
_shotParentVic setVariable [QGVAR(nextFragTime), CBA_missionTime + ACE_FRAG_HOLDOFF];
|
_shotParentVic setVariable [QGVAR(nextFragTime), CBA_missionTime + ACE_FRAG_HOLDOFF];
|
||||||
|
Loading…
Reference in New Issue
Block a user