mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
Merge branch 'die-in-ta' into 'master'
All TA deaths are final deaths See merge request KartKrew/Kart!2077
This commit is contained in:
commit
32e2999386
3 changed files with 3 additions and 5 deletions
|
|
@ -5011,7 +5011,7 @@ static void K_drawKartStartCountdown(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (stplyr->karthud[khud_fault] != 0)
|
||||
if (stplyr->karthud[khud_fault] != 0 && stplyr->karthud[khud_finish] == 0)
|
||||
{
|
||||
K_drawKartFinish(false);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8105,9 +8105,7 @@ void K_KartPlayerHUDUpdate(player_t *player)
|
|||
player->karthud[khud_ringspblock] = (leveltime % 14); // reset to normal anim next time
|
||||
}
|
||||
|
||||
if (player->exiting
|
||||
&& (specialstageinfo.valid == false
|
||||
|| !(player->pflags & PF_NOCONTEST)))
|
||||
if (player->exiting && !(player->pflags & PF_NOCONTEST))
|
||||
{
|
||||
if (player->karthud[khud_finish] <= 2*TICRATE)
|
||||
player->karthud[khud_finish]++;
|
||||
|
|
|
|||
|
|
@ -2526,7 +2526,7 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (modeattacking & ATTACKING_SPB)
|
||||
if (modeattacking)
|
||||
{
|
||||
// Death in SPB Attack is an instant loss.
|
||||
P_DoPlayerExit(player, PF_NOCONTEST);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue