mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't let karma players pick anything up
This commit is contained in:
parent
2745ea2938
commit
7304dff3e5
1 changed files with 5 additions and 3 deletions
|
|
@ -108,11 +108,13 @@ void P_RampConstant(const BasicFF_t *FFInfo, INT32 Start, INT32 End)
|
|||
//
|
||||
boolean P_CanPickupItem(player_t *player, UINT8 weapon)
|
||||
{
|
||||
if (player->exiting || mapreset)
|
||||
if (player->exiting || mapreset || player->eliminated)
|
||||
return false;
|
||||
|
||||
/*if ((gametyperules & GTR_BUMPERS) && player->bumpers <= 0) // No bumpers in Match
|
||||
return false;*/
|
||||
#ifndef OTHERKARMAMODES
|
||||
if ((gametyperules & GTR_BUMPERS) && player->bumpers <= 0) // No bumpers in Match
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (weapon)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue