]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Get rid of g_ghost_items and co, get rid of g_csqc_items, add cl_ghost_items, add...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 7065542b1902db6b65b7faa35612b55d854aa5eb..5f0250283321d9b387eb0539527f82a046c066bd 100644 (file)
@@ -767,7 +767,6 @@ float warmup_start_ammo_fuel;
 float warmup_start_health;
 float warmup_start_armorvalue;
 float g_weapon_stay;
-float g_ghost_items;
 
 entity get_weaponinfo(float w);
 
@@ -1206,11 +1205,6 @@ void readlevelcvars(void)
     if(!g_weapon_stay)
         g_weapon_stay = cvar("g_weapon_stay");
 
-       g_ghost_items = cvar("g_ghost_items");
-
-       if(g_ghost_items >= 1)
-               g_ghost_items = 0.25; // default alpha value
-
        if not(inWarmupStage && !g_ca)
                game_starttime = cvar("g_start_delay");