From 7063233875c5c0612887ca7b231d4129e4a2aa7c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 1 Jan 2012 15:30:11 +0100 Subject: [PATCH] Shorter cvar name --- defaultXonotic.cfg | 2 +- qcsrc/client/autocvars.qh | 2 +- qcsrc/client/waypointsprites.qc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 9324be04b..a161c9263 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -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" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 319a9d664..4e7a5be83 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -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; diff --git a/qcsrc/client/waypointsprites.qc b/qcsrc/client/waypointsprites.qc index 4892f1f8e..9cbb4effc 100644 --- a/qcsrc/client/waypointsprites.qc +++ b/qcsrc/client/waypointsprites.qc @@ -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; -- 2.39.2