Fix Ring payout rate getting stuck fast until interacting with aother Ring Box

This commit is contained in:
Antonio Martinez 2025-09-22 08:23:22 -04:00
parent b3a2cc2ea9
commit 3d5f0e9d73

View file

@ -10474,6 +10474,11 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
// CONS_Printf("%d - %d\n", player->ringboost, oldringboost - player->ringboost);
}
if (!G_CompatLevel(0x0010) && player->superring == 0 && player->ringboxdelay == 0 && player->ringboost < player->lastringboost)
{
player->lastringboost = player->ringboost;
}
if (player->sneakertimer)
{
player->sneakertimer--;