Missing Parenthesissies

This commit is contained in:
PabstMirror 2015-05-19 00:36:54 -05:00
parent 572b46a473
commit 4d877196e4

View File

@ -54,7 +54,7 @@ if (diag_frameno > (_unit getVariable [QGVAR(basic_frameNo), -3]) + 2) then {
[{
private ["_unit", "_damagesum"];
_unit = (_this select 0) select 0;
if (diag_tickTime - _unit getvariable [QGVAR(structDamagePFH),-2] >= 2) then {
if (diag_tickTime - (_unit getvariable [QGVAR(structDamagePFH),-2]) >= 2) then {
_unit setVariable [QGVAR(structDamagePFH), nil];
_damagesum = (_unit getHitPointDamage "HitHead") +
(_unit getHitPointDamage "HitBody") +