]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix parenthesis position to make work previous commit...
authorterencehill <piuntn@gmail.com>
Sat, 2 Feb 2019 21:54:20 +0000 (22:54 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 2 Feb 2019 21:54:20 +0000 (22:54 +0100)
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc

index 5b8a213bf0bb28aa77967d316a6646a50971f2e2..8a447aa624e482d03546e892eacd731a100f501a 100644 (file)
@@ -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;