Restore the removed voices

This commit is contained in:
Sryder 2018-06-07 19:34:13 +01:00
parent dd05edfcc0
commit 6023f794ac
2 changed files with 5 additions and 5 deletions

View file

@ -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]--;

View file

@ -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)
{