]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Simplify
authorterencehill <piuntn@gmail.com>
Fri, 12 Aug 2016 10:02:31 +0000 (12:02 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 12 Aug 2016 10:02:31 +0000 (12:02 +0200)
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc

index c1b642fe9f08b01e5143c824b6babe26bf804c00..e99303823b9eb44e4efab3daf17fbb72692fba32 100644 (file)
@@ -461,8 +461,6 @@ void Draw_WaypointSprite(entity this)
 {
     if (this.lifetime > 0)
         this.alpha = pow(bound(0, (this.fadetime - time) / this.lifetime, 1), waypointsprite_timealphaexponent);
-    else if (this.lifetime < 0)
-        this.alpha = (time < this.fadetime) ? 1 : 0; // no fading out effect
     else
         this.alpha = 1;