More deathmatch stuff.

This commit is contained in:
Mari the Deer 2021-06-16 20:31:35 +02:00
commit 3dd2b45f2a
14 changed files with 64 additions and 12 deletions

View file

@ -48,7 +48,7 @@ Class ExplodiumGun : SWWMWeapon
return true;
if ( (item.GetClass() == 'ExplodiumGun') && !item.ShouldStay() )
{
if ( (Amount+item.Amount > MaxAmount) && (Stamina > 0) )
if ( !deathmatch && (Amount+item.Amount > MaxAmount) && (Stamina > 0) )
{
// sell excess
int sellprice = int(Stamina*.5);