mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable pickup cheese in Sealed Star
This commit is contained in:
parent
20d6dcda88
commit
ec0b51f664
1 changed files with 5 additions and 0 deletions
|
|
@ -181,6 +181,11 @@ boolean P_IsPickupCheesy(player_t *player, UINT8 type)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (gametyperules & GTR_CATCHER)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player->lastpickupdistance && player->lastpickuptype == type)
|
||||
{
|
||||
UINT32 distancedelta = min(player->distancetofinish - player->lastpickupdistance, player->lastpickupdistance - player->distancetofinish);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue