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:
toaster 2018-07-30 23:20:04 +01:00
parent 731b05e263
commit f2070ba6d1
1 changed files with 8 additions and 2 deletions

View File

@ -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
}
//