mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Overdrive Antiscam
This commit is contained in:
parent
5a17e54ebe
commit
4095aa1e47
1 changed files with 4 additions and 0 deletions
|
|
@ -10529,11 +10529,15 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
if (player->overdrive > 0 && onground == true)
|
||||
{
|
||||
player->overdrive--;
|
||||
if (player->overdrive && scamming)
|
||||
player->overdrive--;
|
||||
}
|
||||
|
||||
if (player->overshield > 0 && onground == true)
|
||||
{
|
||||
player->overshield--;
|
||||
if (player->overshield && scamming)
|
||||
player->overshield--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue