mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Update p_user.c
This commit is contained in:
parent
c98108df27
commit
92209bf246
1 changed files with 1 additions and 1 deletions
|
@ -2992,7 +2992,7 @@ static void P_CheckUnderwaterAndSpaceTimer(player_t *player)
|
|||
player->powers[pw_spacetime] = 0;
|
||||
|
||||
// Underwater audio cues
|
||||
if (P_IsLocalPlayer(player) && !player->bot)
|
||||
if (P_IsLocalPlayer(player) && !player->bot && !(player->mo->eflags & MFE_COLDWATER))
|
||||
{
|
||||
if ((player->powers[pw_underwater] == 25*TICRATE + 1)
|
||||
|| (player->powers[pw_underwater] == 20*TICRATE + 1)
|
||||
|
|
Loading…
Reference in a new issue