mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
MP Jingle: A brace (Underwater restore, p_inter.c)
This commit is contained in:
parent
b4ba440c1b
commit
7c48360c2b
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!
|
||||
if (player->powers[pw_underwater] && player->powers[pw_underwater] <= 12*TICRATE + 1)
|
||||
{
|
||||
player->powers[pw_underwater] = underwatertics + 1;
|
||||
P_RestoreMusic(player);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue