mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Sealed Star finish cleanup
- No FINISH text - No voices - Warp sound on crossing the line, not any other stuff
This commit is contained in:
parent
6fb7d16c85
commit
79699f47d5
3 changed files with 18 additions and 2 deletions
|
|
@ -4332,6 +4332,9 @@ static void K_drawKartFinish(boolean finish)
|
|||
|
||||
if (finish)
|
||||
{
|
||||
if (gametyperules & GTR_SPECIALSTART)
|
||||
return;
|
||||
|
||||
timer = stplyr->karthud[khud_finish];
|
||||
kptodraw = kp_racefinish;
|
||||
minsplitstationary = 2;
|
||||
|
|
|
|||
10
src/p_spec.c
10
src/p_spec.c
|
|
@ -1987,7 +1987,15 @@ static void K_HandleLapIncrement(player_t *player)
|
|||
|
||||
player->starpostnum = 0;
|
||||
|
||||
if (P_IsDisplayPlayer(player))
|
||||
if (gametyperules & GTR_SPECIALSTART)
|
||||
{
|
||||
if (player->laps > numlaps)
|
||||
{
|
||||
// Warp out
|
||||
S_StartSound(NULL, sfx_s3kb3);
|
||||
}
|
||||
}
|
||||
else if (P_IsDisplayPlayer(player))
|
||||
{
|
||||
if (numlaps > 1 && player->laps == numlaps) // final lap
|
||||
S_StartSound(NULL, sfx_s3k68);
|
||||
|
|
|
|||
|
|
@ -1296,7 +1296,7 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
|||
{
|
||||
K_UpdateAllPlayerPositions();
|
||||
|
||||
if (cv_kartvoices.value)
|
||||
if (cv_kartvoices.value && !(gametyperules & GTR_SPECIALSTART))
|
||||
{
|
||||
if (P_IsDisplayPlayer(player))
|
||||
{
|
||||
|
|
@ -1409,6 +1409,11 @@ void P_DoAllPlayersExit(pflags_t flags, boolean trygivelife)
|
|||
// You've already finished, don't play again
|
||||
;
|
||||
}
|
||||
else if (gametyperules & GTR_SPECIALSTART)
|
||||
{
|
||||
// Warp out
|
||||
S_StartSound(NULL, sfx_s3kb3);
|
||||
}
|
||||
else if (musiccountdown == 0)
|
||||
{
|
||||
// Other people finish
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue