MP Jingle: A brace (Underwater restore, p_inter.c)

This commit is contained in:
mazmazz 2018-09-21 15:53:03 -04:00
parent e0f9cdcfd1
commit f2033350fc
1 changed files with 1 additions and 0 deletions

View File

@ -1429,6 +1429,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
// Eaten by player!
if (player->powers[pw_underwater] && player->powers[pw_underwater] <= 12*TICRATE + 1)
{
player->powers[pw_underwater] = underwatertics + 1;
P_RestoreMusic(player);
}