]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Change server side g_waypointsprite to sv_waypointsprite
authorSamual <samual@xonotic.org>
Fri, 14 Oct 2011 19:57:27 +0000 (15:57 -0400)
committerSamual <samual@xonotic.org>
Fri, 14 Oct 2011 19:57:27 +0000 (15:57 -0400)
qcsrc/server/autocvars.qh
qcsrc/server/g_world.qc
qcsrc/server/waypointsprites.qc

index 54dec0e62db2a1781ba3ab4744bc4c1a922268c5..0187f44e60cc26f3c4d05b2e1d20f10339d8d448 100644 (file)
@@ -1028,9 +1028,6 @@ float autocvar_g_turrets_unit_walker_turn_swim;
 float autocvar_g_use_ammunition;
 float autocvar_g_waypointeditor;
 float autocvar_g_waypoints_for_items;
-float autocvar_g_waypointsprite_deadlifetime;
-float autocvar_g_waypointsprite_deployed_lifetime;
-float autocvar_g_waypointsprite_limitedrange;
 float autocvar_g_weapon_charge_colormod_blue_full;
 float autocvar_g_weapon_charge_colormod_blue_half;
 float autocvar_g_weapon_charge_colormod_green_full;
@@ -1178,6 +1175,9 @@ float autocvar_sv_warsowbunny_airforwardaccel;
 float autocvar_sv_warsowbunny_backtosideratio;
 float autocvar_sv_warsowbunny_topspeed;
 float autocvar_sv_warsowbunny_turnaccel;
+float autocvar_sv_waypointsprite_deadlifetime;
+float autocvar_sv_waypointsprite_deployed_lifetime;
+float autocvar_sv_waypointsprite_limitedrange;
 string autocvar_sv_weaponstats_file;
 float autocvar_sv_gibhealth;
 float autocvar_sys_ticrate;
index 28a0716ffe00af6b346c3e0bfd55253218384359..ce079e61c4ea4ec587aa4e5c007ebeb514b1f141 100644 (file)
@@ -307,6 +307,7 @@ void cvar_changes_init()
                BADPREFIX("sv_logscores_");
                BADPREFIX("sv_master");
                BADPREFIX("sv_weaponstats_");
+               BADPREFIX("sv_waypointsprite_");
 
                // these can contain player IDs, so better hide
                BADPREFIX("g_forced_team_");
index 987fb6d33956d4e7d2f504332208dca3c1302a98..0e62df7cb2cd029a8cd0aa5d183e63f135c1e948 100644 (file)
@@ -127,9 +127,9 @@ void WaypointSprite_FadeOutIn(entity e, float t)
 
 void WaypointSprite_Init()
 {
-       waypointsprite_limitedrange = autocvar_g_waypointsprite_limitedrange;
-       waypointsprite_deployed_lifetime = autocvar_g_waypointsprite_deployed_lifetime;
-       waypointsprite_deadlifetime = autocvar_g_waypointsprite_deadlifetime;
+       waypointsprite_limitedrange = autocvar_sv_waypointsprite_limitedrange;
+       waypointsprite_deployed_lifetime = autocvar_sv_waypointsprite_deployed_lifetime;
+       waypointsprite_deadlifetime = autocvar_sv_waypointsprite_deadlifetime;
 }
 void WaypointSprite_InitClient(entity e)
 {