]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/waypointsprites.qc
also fade in/out the modicons when there are no mod icons, do a little alpha renaming...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / waypointsprites.qc
index bd45b413b1bdfd062fe1840cb43eb615826ea554..db0fdb83fd81a3dd46293211d9eca60df94157ad 100644 (file)
@@ -166,7 +166,7 @@ void Draw_WaypointSprite()
        dist = vlen(self.origin - view_origin);
        
        float a;
-       a = self.alpha * hud_alpha_fg;
+       a = self.alpha * hud_fg_alpha;
 
        if(self.maxdistance > waypointsprite_normdistance)
                a *= pow(bound(0, (self.maxdistance - dist) / (self.maxdistance - waypointsprite_normdistance), 1), waypointsprite_distancealphaexponent);