Merge branch 'unrestrict-sealed-star-pickups' into 'master'

Disable pickup cheese in Sealed Star

See merge request KartKrew/Kart!2189
This commit is contained in:
Oni 2024-03-31 05:52:29 +00:00
commit da56406c50

View file

@ -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);