mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-26 08:26:31 +00:00
Merge branch 'special-out' into 'master'
Special Out See merge request KartKrew/Kart!921
This commit is contained in:
commit
a7a3a2c5d5
4 changed files with 14 additions and 3 deletions
|
|
@ -7236,7 +7236,9 @@ void K_KartPlayerHUDUpdate(player_t *player)
|
|||
player->karthud[khud_ringspblock] = (leveltime % 14); // reset to normal anim next time
|
||||
}
|
||||
|
||||
if (player->exiting)
|
||||
if (player->exiting
|
||||
&& (specialstageinfo.valid == false
|
||||
|| !(player->pflags & PF_NOCONTEST)))
|
||||
{
|
||||
if (player->karthud[khud_finish] <= 2*TICRATE)
|
||||
player->karthud[khud_finish]++;
|
||||
|
|
|
|||
|
|
@ -1901,6 +1901,12 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
|
|||
{
|
||||
(void)source;
|
||||
|
||||
if (!player->exiting && specialstageinfo.valid == true)
|
||||
{
|
||||
player->pflags |= PF_NOCONTEST;
|
||||
P_DoPlayerExit(player);
|
||||
}
|
||||
|
||||
if (player->exiting)
|
||||
{
|
||||
player->mo->destscale = 1;
|
||||
|
|
|
|||
|
|
@ -2011,8 +2011,11 @@ static void K_HandleLapIncrement(player_t *player)
|
|||
player->pflags |= PF_NOCONTEST;
|
||||
}
|
||||
}
|
||||
|
||||
P_DoPlayerExit(player);
|
||||
P_SetupSignExit(player);
|
||||
|
||||
if (!(player->pflags & PF_NOCONTEST))
|
||||
P_SetupSignExit(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1314,7 +1314,7 @@ void P_DoPlayerExit(player_t *player)
|
|||
{
|
||||
if (specialstageinfo.valid == true && losing == true)
|
||||
{
|
||||
exitcountdown = (5*TICRATE)/2;
|
||||
exitcountdown = TICRATE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue