Add missing variable + RPT cleanup

fix 2 dup string warnings
fix "Cannot delete class rscdisplayinfo" warning.
Start extended vehicle damage debugging.
This commit is contained in:
icomrade
2014-03-26 02:40:24 -04:00
parent 935ed7931d
commit b80bb88467
9 changed files with 76 additions and 72 deletions

View File

@@ -77,7 +77,9 @@ if (_damage > 0.4) then {
if (_unitIsPlayer) then {
//Cause blood loss
//Log Damage
diag_log ("DAMAGE: player hit by " + typeOf _source + " in " + _hit + " with " + _ammo + " for " + str(_damage) + " scaled " + str(_damage * _scale));
if (DZE_Debug_Damage) then {
diag_log ("DAMAGE: player hit by " + typeOf _source + " in " + _hit + " with " + _ammo + " for " + str(_damage) + " scaled " + str(_damage * _scale));
};
r_player_blood = r_player_blood - (_damage * _scale);
};
};