X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=data%2Fqcsrc%2Fserver%2Ft_items.qc;h=4bfa0771771c2dfc4f4f7edde6b92a0ddf90991c;hb=b2df32d96df3e954d54f6e4b9bbb6c98d77ef507;hp=4ecb6527ef7bedd90fa4b3ca9c664ec6c5b96372;hpb=045633c16560b0d75e3670d753c8898d5d4dda95;p=voretournament%2Fvoretournament.git diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 4ecb6527..4bfa0771 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -5,6 +5,8 @@ #define ITEM_RESPAWNTIME_INITIAL(i) (ITEM_RESPAWN_TICKS + random() * ((i).respawntime + (i).respawntimejitter - ITEM_RESPAWN_TICKS)) // range: 10 .. respawntime + respawntimejitter +#define Item_Func_Null null + floatfield Item_CounterField(float it) { switch(it) @@ -69,7 +71,7 @@ void Item_Show (entity e, float mode) e.colormod = '0 0 0'; e.glowmod = e.colormod; e.alpha = 0; - e.customizeentityforclient = func_null; + e.customizeentityforclient = Item_Func_Null; e.spawnshieldtime = 1; } @@ -81,7 +83,7 @@ void Item_Show (entity e, float mode) e.colormod = '0 0 0'; e.glowmod = e.colormod; e.alpha = 0; - e.customizeentityforclient = func_null; + e.customizeentityforclient = Item_Func_Null; e.spawnshieldtime = 1; } @@ -105,7 +107,7 @@ void Item_Show (entity e, float mode) e.colormod = stov(cvar_string("g_ghost_items_color")); e.glowmod = e.colormod; e.alpha = g_ghost_items; - e.customizeentityforclient = func_null; + e.customizeentityforclient = Item_Func_Null; e.spawnshieldtime = 1; } @@ -117,7 +119,7 @@ void Item_Show (entity e, float mode) e.colormod = stov(cvar_string("g_ghost_items_color")); e.glowmod = e.colormod; e.alpha = 0; - e.customizeentityforclient = func_null; + e.customizeentityforclient = Item_Func_Null; e.spawnshieldtime = 1; }