mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-29 20:50:38 +00:00
Restore the removed voices
This commit is contained in:
parent
dd05edfcc0
commit
6023f794ac
2 changed files with 5 additions and 5 deletions
|
@ -2739,17 +2739,17 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
|
||||
K_KartUpdatePosition(player);
|
||||
|
||||
/*if (!player->kartstuff[k_positiondelay] && !player->exiting)
|
||||
if (!player->kartstuff[k_positiondelay] && !player->exiting)
|
||||
{
|
||||
if (player->kartstuff[k_oldposition] <= player->kartstuff[k_position]) // But first, if you lost a place,
|
||||
player->kartstuff[k_oldposition] = player->kartstuff[k_position]; // then the other player taunts.
|
||||
else if (player->kartstuff[k_oldposition] > player->kartstuff[k_position]) // Otherwise,
|
||||
{
|
||||
//S_StartSound(player->mo, sfx_slow); // Say "YOU'RE TOO SLOW!"
|
||||
S_StartSound(player->mo, sfx_slow); // Say "YOU'RE TOO SLOW!"
|
||||
player->kartstuff[k_oldposition] = player->kartstuff[k_position]; // Restore the old position,
|
||||
player->kartstuff[k_positiondelay] = 5*TICRATE; // and set up a timer.
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
if (player->kartstuff[k_positiondelay])
|
||||
player->kartstuff[k_positiondelay]--;
|
||||
|
|
|
@ -1674,14 +1674,14 @@ void P_DoPlayerExit(player_t *player)
|
|||
else if (!countdown)
|
||||
countdown = cv_countdowntime.value*TICRATE + 1; // Use cv_countdowntime
|
||||
|
||||
/*
|
||||
|
||||
if (circuitmap)
|
||||
{
|
||||
if (player->kartstuff[k_position] <= 3)
|
||||
S_StartSound(player->mo, sfx_kwin);
|
||||
else
|
||||
S_StartSound(player->mo, sfx_klose);
|
||||
}*/
|
||||
}
|
||||
|
||||
if (P_IsLocalPlayer(player) && cv_inttime.value > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue