Merge branch 'fix-ringboost-crack' into 'master'

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

Closes ring-racers#225

See merge request kart-krew-dev/ring-racers-internal!2884
This commit is contained in:
AJ Martinez 2025-09-23 09:45:41 +00:00
commit 2a72e0a855

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