mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-05 13:16:16 +00:00
NiGHTS drill meter penalty when mashing jump button
Thanks Inuyasha (KS) for code
This commit is contained in:
parent
9d8af5da01
commit
205678cb9a
1 changed files with 7 additions and 0 deletions
|
|
@ -6635,6 +6635,13 @@ static void P_NiGHTSMovement(player_t *player)
|
|||
S_StartSound(player->mo, sfx_drill1);
|
||||
player->drilltimer = 32;
|
||||
}
|
||||
else if (player->drilltimer == 32)
|
||||
{
|
||||
player->drilltimer = 31;
|
||||
player->drillmeter -= TICRATE/2;
|
||||
if (player->drillmeter <= 0)
|
||||
player->drillmeter = TICRATE/10;
|
||||
}
|
||||
else if (--player->drilltimer <= 0)
|
||||
{
|
||||
player->drilltimer = 10;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue