Underwater: do not spawn bubbles around player using Bubble Shield
This commit is contained in:
parent
b048467aa2
commit
0882846d29
1 changed files with 1 additions and 1 deletions
|
|
@ -1706,7 +1706,7 @@ static void P_DoBubbleBreath(player_t *player)
|
|||
fixed_t z = player->mo->z;
|
||||
mobj_t *bubble = NULL;
|
||||
|
||||
if (!(player->mo->eflags & MFE_UNDERWATER) || player->spectator)
|
||||
if (!(player->mo->eflags & MFE_UNDERWATER) || player->spectator || player->curshield == KSHIELD_BUBBLE)
|
||||
return;
|
||||
|
||||
if (player->charflags & SF_MACHINE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue