- 4085 fix

This commit is contained in:
Jonathan Barkley 2011-04-20 01:21:33 +00:00
parent 2335b0ebb1
commit 576880a5b2

View file

@ -599,6 +599,11 @@ void Touch_Item(gentity_t * ent, gentity_t * other, trace_t * trace)
if (other->client->uniqueWeapons >= g_RQ3_maxWeapons.integer + (bandolierFactor - 1) ||
ent->s.pos.trDelta[2] != 0)
return;
// Paril: fix/workaround for 4085
// don't pick up dupe special weapons even if we could.
if ((other->client->ps.stats[STAT_WEAPONS] & (1 << ent->item->giTag)) == (1 << ent->item->giTag))
return;
break;
case WP_AKIMBO:
default: