mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Some tidbits for countdowns.
* Fix an inconsistency in timing re a time over that involves a single person (the number of tics exiting usually takes), versus a time over that involves multiple people (8*TICRATE). * Barebones preparatory work for F-Zero explosion, since I was futzing around in this already.
This commit is contained in:
parent
0aba310643
commit
9ea382ba16
1 changed files with 8 additions and 2 deletions
10
src/p_user.c
10
src/p_user.c
|
|
@ -1747,8 +1747,8 @@ void P_DoPlayerExit(player_t *player)
|
||||||
P_EndingMusic(player);
|
P_EndingMusic(player);
|
||||||
|
|
||||||
// SRB2kart 120217
|
// SRB2kart 120217
|
||||||
if (!countdown2)
|
//if (!countdown2)
|
||||||
countdown2 = countdown + 8*TICRATE;
|
//countdown2 = countdown + 8*TICRATE;
|
||||||
|
|
||||||
if (P_CheckRacers())
|
if (P_CheckRacers())
|
||||||
player->exiting = (14*TICRATE)/5 + 1;
|
player->exiting = (14*TICRATE)/5 + 1;
|
||||||
|
|
@ -9088,6 +9088,12 @@ void P_DoTimeOver(player_t *player)
|
||||||
player->lives = 0;
|
player->lives = 0;
|
||||||
|
|
||||||
P_EndingMusic(player);
|
P_EndingMusic(player);
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// sal, when you do the f-zero explosion, this is how you make sure the map doesn't end before it's done ^u^ ~toast
|
||||||
|
if (!countdown2)
|
||||||
|
countdown2 = 5*TICRATE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue