]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't make make blink fading out waypoints such as those one used to point out weapon...
authorterencehill <piuntn@gmail.com>
Tue, 28 Jul 2015 21:23:32 +0000 (23:23 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 28 Jul 2015 21:23:32 +0000 (23:23 +0200)
qcsrc/client/waypointsprites.qc

index 28da5278d079644bb304f7569c2d01b062d32b1d..c3b724f7bda3df74899b86d79363cb7c7f0562ed 100644 (file)
@@ -415,7 +415,7 @@ void Draw_WaypointSprite()
        {
                if(self.helpme && time < self.helpme)
                        a *= SPRITE_HELPME_BLINK;
-               else
+               else if(!self.lifetime) // fading out waypoints don't blink
                        a *= spritelookupblinkvalue(spriteimage);
        }
 
@@ -425,7 +425,7 @@ void Draw_WaypointSprite()
                a = 1;
        }
 
-       if(a <= 0)
+       if(a <= 0.003)
                return;
 
        rgb = fixrgbexcess(rgb);