mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed debug def names
This commit is contained in:
parent
39e7f7f438
commit
783c2aa8ce
@ -18,10 +18,12 @@
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
params ["_objectHit", "_roundType", "_round", "_oldPos", "_oldVelocity",];
|
||||
params ["_objectHit", "_roundType", "_round", "_oldPos", "_oldVelocity"];
|
||||
|
||||
TRACE_1("",_objectHit);
|
||||
if ((isNil "_objectHit") || {isNull _objectHit}) exitWith {WARNING_1("Problem with hitPart data - bad object [%1]",_objectHit);};
|
||||
if ((isNil "_objectHit") || {isNull _objectHit}) exitWith {
|
||||
WARNING_1("Problem with hitPart data - bad object [%1]",_objectHit);
|
||||
};
|
||||
|
||||
private _caliber = getNumber (configFile >> "CfgAmmo" >> _roundType >> "caliber");
|
||||
private _explosive = getNumber (configFile >> "CfgAmmo" >> _roundType >> "explosive");
|
||||
@ -88,7 +90,7 @@ for "_i" from 1 to _spallCount do {
|
||||
_fragment setPosASL _spallPos;
|
||||
_fragment setVelocity _spallFragVect;
|
||||
|
||||
#ifdef DRAW_FRAG_INFO
|
||||
#ifdef DEBUG_MODE_DRAW
|
||||
[_fragment, "orange", true] call FUNC(dev_trackObj);
|
||||
#endif
|
||||
};
|
||||
@ -110,7 +112,7 @@ for "_i" from 1 to _spallCount do {
|
||||
_fragment setPosASL _spallPos;
|
||||
_fragment setVelocity _spallFragVect;
|
||||
|
||||
#ifdef DRAW_FRAG_INFO
|
||||
#ifdef DEBUG_MODE_DRAW
|
||||
[_fragment, "orange", true] call FUNC(dev_trackObj);
|
||||
#endif
|
||||
};
|
@ -112,7 +112,7 @@ if (_targets isNotEqualTo []) then {
|
||||
_fragObj setVectorDir _vec;
|
||||
_fragObj setVelocity _vel;
|
||||
_fragObj setShotParents _shotParents;
|
||||
#ifdef DRAW_FRAG_INFO
|
||||
#ifdef DEBUG_MODE_DRAW
|
||||
[ACE_player, _fragObj, [1,0,0,1]] call FUNC(dev_addTrack);
|
||||
#endif
|
||||
INC(_fragCount);
|
||||
@ -146,7 +146,7 @@ if (_targets isNotEqualTo []) then {
|
||||
_fragObj setVelocity _vel;
|
||||
_fragObj setShotParents _shotParents;
|
||||
|
||||
#ifdef DRAW_FRAG_INFO
|
||||
#ifdef DEBUG_MODE_DRAW
|
||||
[ACE_player, _fragObj, [1,0.5,0,1]] call FUNC(dev_addTrack);
|
||||
#endif
|
||||
INC(_fragCount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user