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

View file

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