replaced diag_logs by trace

This commit is contained in:
Glowbal 2015-09-05 12:59:09 +02:00
parent 9c0288cd3f
commit 17ad7ecb8c

View File

@ -41,7 +41,7 @@ _mostEffectiveInjury = _openWounds select 0;
_exit = false;
{
_x params ["", "_classID", "_partX"];
diag_log format["OPENWOUND: %1", _x];
TRACE_2("OPENWOUND: ", _target, _x);
// Only parse injuries that are for the selected bodypart.
if (_partX == _part) then {
_woundEffectivenss = _effectiveness;
@ -57,7 +57,7 @@ _exit = false;
};
};
diag_log format["_specificClass: %1 vs classId %2", _specificClass, _classID];
TRACE_2("Wound classes: ", _specificClass, _classID);
if (_specificClass == _classID) exitwith {
_effectivenessFound = _woundEffectivenss;
_mostEffectiveSpot = _foreachIndex;