]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/waypointsprites.qc
Customizable colors and levels for weapons accuracy
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / waypointsprites.qc
index 6c7dc9480ae4d5b4de633c5a5555e0388c2ddff3..db0fdb83fd81a3dd46293211d9eca60df94157ad 100644 (file)
@@ -166,7 +166,7 @@ void Draw_WaypointSprite()
        dist = vlen(self.origin - view_origin);
        
        float a;
-       a = self.alpha * sbar_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);