mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 14:01:14 +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;
|
||||
}
|
||||
|
||||
if (mobj->waterskip == 0 && wasinwater)
|
||||
if (p != NULL
|
||||
&& p->curshield != KSHIELD_BUBBLE
|
||||
&& mobj->waterskip == 0
|
||||
&& wasinwater)
|
||||
{
|
||||
if (p && p->curshield == KSHIELD_BUBBLE)
|
||||
{
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
S_StartSound(mobj, sfx_s3k38);
|
||||
}
|
||||
// Play the gasp sound
|
||||
S_StartSound(mobj, sfx_s3k38);
|
||||
}
|
||||
|
||||
if (mobj->flags & MF_APPLYTERRAIN)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue