From: terencehill Date: Fri, 12 Aug 2016 10:02:31 +0000 (+0200) Subject: Simplify X-Git-Tag: xonotic-v0.8.2~727 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c5acdc23bbb9594acb9e909c812ddc553a22dec2;p=xonotic%2Fxonotic-data.pk3dir.git Simplify --- diff --git a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc index c1b642fe9..e99303823 100644 --- a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc +++ b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc @@ -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;