Debug sphere conditional was missing in frago

This commit is contained in:
lambdatiger 2024-07-30 19:10:50 -05:00
parent 40921773f9
commit 8c68f131fa

View File

@ -116,7 +116,9 @@ if (_targets isNotEqualTo []) then {
_fragObj setShotParents _shotParents;
#ifdef DEBUG_MODE_DRAW
[_fragObj, "green", true] call FUNC(dev_trackObj);
[_targetPos, "(0.88,0.36,0.92,0.8)"] call FUNC(dev_sphereDraw);
if (GVAR(dbgSphere)) then {
[_targetPos, "(0.88,0.36,0.92,0.8)"] call FUNC(dev_sphereDraw);
};
#endif
INC(_fragCount);
INC(_currentCount);