]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Shorter cvar name
authorterencehill <piuntn@gmail.com>
Sun, 1 Jan 2012 14:30:11 +0000 (15:30 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 1 Jan 2012 14:30:11 +0000 (15:30 +0100)
defaultXonotic.cfg
qcsrc/client/autocvars.qh
qcsrc/client/waypointsprites.qc

index 9324be04b86cb66541b525362d21d9e12a10b7e9..a161c92638a002eebcdb8250736383a72a83a282 100644 (file)
@@ -1312,7 +1312,7 @@ seta g_waypointsprite_crosshairfadedistance 150 "distance in virtual pixels from
 seta g_waypointsprite_distancefadealpha 1 "alpha multiplier near distance"
 seta g_waypointsprite_distancefadescale 0.7 "scale multiplier near the distance"
 seta g_waypointsprite_distancefadedistancemultiplier 0.5 "distance in map sizes from distance where to stop fading"
-seta g_waypointsprite_items_for_spectators 1 "show waypoints when spectating to indicate that some important items (mega health, large armor) are about to respawn"
+seta g_waypointsprite_itemstime 1 "show waypoints when spectating to indicate that some important items (mega health, large armor) are about to respawn"
 set g_waypointsprite_spam 0 "Debugging feature. Set to 10 and load courtfun in race mode to test."
 alias "g_waypointsprite_personal"      "impulse 30"
 alias "g_waypointsprite_personal_p"    "impulse 31"
index 319a9d66438699d3857271635a9a715c3ee1b1cf..4e7a5be83dfbcf06d1d16a8c3b9bde24ce6615e9 100644 (file)
@@ -145,7 +145,7 @@ float autocvar_g_waypointsprite_edgeoffset_left;
 float autocvar_g_waypointsprite_edgeoffset_right;
 float autocvar_g_waypointsprite_edgeoffset_top;
 float autocvar_g_waypointsprite_fontsize;
-float autocvar_g_waypointsprite_items_for_spectators;
+float autocvar_g_waypointsprite_itemstime;
 float autocvar_g_waypointsprite_minalpha;
 float autocvar_g_waypointsprite_minscale;
 float autocvar_g_waypointsprite_normdistance;
index 4892f1f8e0f865f68958e679df0f356fb5af4ba2..9cbb4effc5544faec3057da60c8ccb83ffc15901 100644 (file)
@@ -415,7 +415,7 @@ void Draw_WaypointSprite()
        switch(self.rule)
        {
                case SPRITERULE_SPECTATOR:
-                       if(!autocvar_g_waypointsprite_items_for_spectators)
+                       if(!autocvar_g_waypointsprite_itemstime)
                                return;
                        spriteimage = self.netname;
                        break;