From 9ea382ba168dfe2845286ff9c7ea7ff460cb0eb9 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 30 Jul 2018 23:20:04 +0100 Subject: [PATCH] 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. --- src/p_user.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 9ba027141..86e404ac9 100644 --- a/src/p_user.c +++ b/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 } //