mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 11:42:48 +00:00
More tripwire leniency after invinc + fixed regression in rocketsneaker boost type separation
What it says on the tin. Shoutouts to Ashnal for figuring out the regression before anyone got hit by it!
This commit is contained in:
parent
03d9430bb9
commit
7157d80d00
2 changed files with 6 additions and 0 deletions
|
|
@ -9816,6 +9816,11 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
player->invincibilitytimer--;
|
||||
if (player->invincibilitytimer && K_IsPlayerScamming(player))
|
||||
player->invincibilitytimer--;
|
||||
|
||||
// Extra tripwire leniency for the end of invincibility
|
||||
if (player->invincibilitytimer <= 0) {
|
||||
player->tripwireLeniency = max( player->tripwireLeniency, TICRATE );
|
||||
}
|
||||
}
|
||||
|
||||
// The precise ordering of start-of-level made me want to cut my head off,
|
||||
|
|
|
|||
|
|
@ -1198,6 +1198,7 @@ static void P_NetUnArchivePlayers(savebuffer_t *save)
|
|||
players[i].numsneakers = READUINT8(save->p);
|
||||
players[i].panelsneakertimer = READUINT16(save->p);
|
||||
players[i].numpanelsneakers = READUINT8(save->p);
|
||||
players[i].weaksneakertimer = READUINT16(save->p);
|
||||
players[i].numweaksneakers = READUINT8(save->p);
|
||||
players[i].floorboost = READUINT8(save->p);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue