mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 01:31:30 +00:00
MP Jingle: A brace (Underwater restore, p_inter.c)
This commit is contained in:
parent
e0f9cdcfd1
commit
f2033350fc
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue