From 068f4083c65bb62eb23077004d5eb2154c6c865e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 21 Jun 2011 21:19:06 +0200 Subject: [PATCH] fix blinking for helpme too --- qcsrc/client/waypointsprites.qc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/qcsrc/client/waypointsprites.qc b/qcsrc/client/waypointsprites.qc index 327ad0442..3e83e45bc 100644 --- a/qcsrc/client/waypointsprites.qc +++ b/qcsrc/client/waypointsprites.qc @@ -435,10 +435,13 @@ void Draw_WaypointSprite() print(sprintf("WARNING: sprite of name %s has no color, using pink so you notice it\n", spriteimage)); } - if(self.helpme && time < self.helpme) - a *= SPRITE_HELPME_BLINK; - else if(time - floor(time) > 0.5) - a *= spritelookupblinkvalue(spriteimage); + if(time - floor(time) > 0.5) + { + if(self.helpme && time < self.helpme) + a *= SPRITE_HELPME_BLINK; + else + a *= spritelookupblinkvalue(spriteimage); + } if(a > 1) { -- 2.39.2