]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix item waypoint blink effect not working
authorterencehill <piuntn@gmail.com>
Wed, 15 Aug 2018 13:46:46 +0000 (15:46 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 15 Aug 2018 13:46:46 +0000 (15:46 +0200)
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc

index dcbb65f65cd29472659141b93617b7a8182c2075..637326c73780ad743349d3c2d9c371608f96ca2e 100644 (file)
@@ -556,7 +556,7 @@ void Draw_WaypointSprite(entity this)
     {
         if (this.helpme && time < this.helpme)
             a *= SPRITE_HELPME_BLINK;
-        else if (this.lifetime > 0) // fading out waypoints don't blink
+        else if (!this.lifetime) // fading out waypoints don't blink
             a *= spritelookupblinkvalue(this, spriteimage);
     }