From: MirceaKitsune Date: Wed, 8 Sep 2010 10:11:59 +0000 (+0300) Subject: Fix for g_weapon_stay 3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=016ca4ac9c4c6933b73a5723ae5e06967ebde657;p=voretournament%2Fvoretournament.git Fix for g_weapon_stay 3 --- diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index 89e2b808..5caed8e1 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -85,7 +85,7 @@ void Item_Show (entity e, float mode) e.spawnshieldtime = 1; } - else if((e.flags & FL_WEAPON) && (g_weapon_stay == 3)) + else if((e.flags & FL_WEAPON) && (g_weapon_stay == 3 && self.respawntime > 0)) // if respawntime is -1, this item does not respawn { // make the item translucent green and not touchable e.model = e.mdl;