mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +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
731b05e263
commit
f2070ba6d1
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);
|
||||
|
||||
// SRB2kart 120217
|
||||
if (!countdown2)
|
||||
countdown2 = countdown + 8*TICRATE;
|
||||
//if (!countdown2)
|
||||
//countdown2 = countdown + 8*TICRATE;
|
||||
|
||||
if (P_CheckRacers())
|
||||
player->exiting = (14*TICRATE)/5 + 1;
|
||||
|
@ -9088,6 +9088,12 @@ void P_DoTimeOver(player_t *player)
|
|||
player->lives = 0;
|
||||
|
||||
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…
Reference in a new issue