From: terencehill Date: Tue, 28 Jul 2015 21:23:32 +0000 (+0200) Subject: Don't make make blink fading out waypoints such as those one used to point out weapon... X-Git-Tag: xonotic-v0.8.1~12^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04454a65df4d8c82bcfc8c8d392265538cd1b52f;p=xonotic%2Fxonotic-data.pk3dir.git Don't make make blink fading out waypoints such as those one used to point out weapons position --- diff --git a/qcsrc/client/waypointsprites.qc b/qcsrc/client/waypointsprites.qc index 28da5278d..c3b724f7b 100644 --- a/qcsrc/client/waypointsprites.qc +++ b/qcsrc/client/waypointsprites.qc @@ -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);