}\r
else\r
{\r
- if(g_ghost_items && self.respawntime > 0) // if respawntime is -1, this item does not respawn\r
+ if(g_ghost_items)\r
{\r
self.colormod = stov(cvar_string("g_ghost_items_color"));\r
self.glowmod = self.colormod;\r
\r
e.spawnshieldtime = 1;\r
}\r
- else if((e.flags & FL_WEAPON) && (g_weapon_stay == 3 && self.respawntime > 0)) // if respawntime is -1, this item does not respawn\r
+ else if((e.flags & FL_WEAPON) && (g_weapon_stay == 3))\r
{\r
// make the item translucent green and not touchable\r
e.model = e.mdl;\r
\r
e.spawnshieldtime = 0; // field indicates whether picking it up may give you anything other than the weapon\r
}\r
- else if(g_ghost_items && self.respawntime > 0) // if respawntime is -1, this item does not respawn\r
+ else if(g_ghost_items)\r
{\r
// make the item translucent green and not touchable\r
e.model = e.mdl;\r
Item_Show(e, 0);\r
if(e.respawntime > 0) // if respawntime is -1, this item does not respawn\r
Item_ScheduleRespawnIn(e, ITEM_RESPAWNTIME(e));\r
+ else\r
+ remove(e);\r
}\r
\r
void Item_ScheduleInitialRespawn(entity e)\r