From: terencehill Date: Sat, 2 Feb 2019 21:54:20 +0000 (+0100) Subject: Fix parenthesis position to make work previous commit... X-Git-Tag: xonotic-v0.8.5~1615 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=77d98212622acadc3ed0c658c890a949805e0bdf;p=xonotic%2Fxonotic-data.pk3dir.git Fix parenthesis position to make work previous commit... --- diff --git a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc index 5b8a213bf..8a447aa62 100644 --- a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc +++ b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc @@ -830,7 +830,7 @@ void WaypointSprite_UpdateHealth(entity e, float f) { f = bound(0, f, e.max_health); float step = e.max_health / 40; - if ((floor(f / step) != floor(GetResourceAmount(e, RESOURCE_HEALTH)) / step) || e.pain_finished) + if ((floor(f / step) != floor(GetResourceAmount(e, RESOURCE_HEALTH) / step)) || e.pain_finished) { SetResourceAmountExplicit(e, RESOURCE_HEALTH, f); e.pain_finished = 0;