mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Restore the removed voices
This commit is contained in:
parent
ec23771ef7
commit
4ab28e017e
2 changed files with 5 additions and 5 deletions
|
|
@ -2739,17 +2739,17 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
|
|
||||||
K_KartUpdatePosition(player);
|
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,
|
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.
|
player->kartstuff[k_oldposition] = player->kartstuff[k_position]; // then the other player taunts.
|
||||||
else if (player->kartstuff[k_oldposition] > player->kartstuff[k_position]) // Otherwise,
|
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_oldposition] = player->kartstuff[k_position]; // Restore the old position,
|
||||||
player->kartstuff[k_positiondelay] = 5*TICRATE; // and set up a timer.
|
player->kartstuff[k_positiondelay] = 5*TICRATE; // and set up a timer.
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if (player->kartstuff[k_positiondelay])
|
if (player->kartstuff[k_positiondelay])
|
||||||
player->kartstuff[k_positiondelay]--;
|
player->kartstuff[k_positiondelay]--;
|
||||||
|
|
|
||||||
|
|
@ -1674,14 +1674,14 @@ void P_DoPlayerExit(player_t *player)
|
||||||
else if (!countdown)
|
else if (!countdown)
|
||||||
countdown = cv_countdowntime.value*TICRATE + 1; // Use cv_countdowntime
|
countdown = cv_countdowntime.value*TICRATE + 1; // Use cv_countdowntime
|
||||||
|
|
||||||
/*
|
|
||||||
if (circuitmap)
|
if (circuitmap)
|
||||||
{
|
{
|
||||||
if (player->kartstuff[k_position] <= 3)
|
if (player->kartstuff[k_position] <= 3)
|
||||||
S_StartSound(player->mo, sfx_kwin);
|
S_StartSound(player->mo, sfx_kwin);
|
||||||
else
|
else
|
||||||
S_StartSound(player->mo, sfx_klose);
|
S_StartSound(player->mo, sfx_klose);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if (P_IsLocalPlayer(player) && cv_inttime.value > 0)
|
if (P_IsLocalPlayer(player) && cv_inttime.value > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue