From 77d98212622acadc3ed0c658c890a949805e0bdf Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 2 Feb 2019 22:54:20 +0100 Subject: [PATCH] Fix parenthesis position to make work previous commit... --- qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2