More deathmatch stuff.
This commit is contained in:
parent
8e3a26487c
commit
3dd2b45f2a
14 changed files with 64 additions and 12 deletions
|
|
@ -199,7 +199,7 @@ Class SWWMWeapon : Weapon abstract
|
|||
{
|
||||
if ( SWWMWeapon(item).PickupForAmmoSWWM(self) )
|
||||
item.bPickupGood = true;
|
||||
if ( (Amount+item.Amount > MaxAmount) && (item.Stamina > 0) )
|
||||
if ( !deathmatch && (Amount+item.Amount > MaxAmount) && (item.Stamina > 0) )
|
||||
{
|
||||
// sell excess
|
||||
int sellprice = item.Stamina/2;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ Class CandyGun : SWWMWeapon
|
|||
[ammoget, spareget] = CandyGun(item).PickupForAmmoAndSpares(self);
|
||||
if ( ammoget || spareget )
|
||||
item.bPickupGood = true;
|
||||
if ( !spareget )
|
||||
if ( !deathmatch && !spareget )
|
||||
{
|
||||
// sell excess
|
||||
int sellprice = item.Stamina/2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue