mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Oops, thought this was a splash, not the gasp...
Whoops!
This commit is contained in:
parent
841bcf3619
commit
6ca979d53e
1 changed files with 6 additions and 9 deletions
15
src/p_mobj.c
15
src/p_mobj.c
|
|
@ -3301,16 +3301,13 @@ void P_MobjCheckWater(mobj_t *mobj)
|
||||||
mobj->waterskip = 0;
|
mobj->waterskip = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mobj->waterskip == 0 && wasinwater)
|
if (p != NULL
|
||||||
|
&& p->curshield != KSHIELD_BUBBLE
|
||||||
|
&& mobj->waterskip == 0
|
||||||
|
&& wasinwater)
|
||||||
{
|
{
|
||||||
if (p && p->curshield == KSHIELD_BUBBLE)
|
// Play the gasp sound
|
||||||
{
|
S_StartSound(mobj, sfx_s3k38);
|
||||||
;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
S_StartSound(mobj, sfx_s3k38);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mobj->flags & MF_APPLYTERRAIN)
|
if (mobj->flags & MF_APPLYTERRAIN)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue