Fix bubblepop not being reset in some cases
This commit is contained in:
parent
5d5701790d
commit
fe97d7263b
2 changed files with 2 additions and 3 deletions
|
|
@ -745,7 +745,6 @@ boolean K_BubbleShieldCollide(mobj_t *t1, mobj_t *t2)
|
|||
if (player->bubblepop > 1)
|
||||
{
|
||||
K_DropHnextList(player, false);
|
||||
player->bubblepop = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -778,7 +777,6 @@ boolean K_BubbleShieldCollide(mobj_t *t1, mobj_t *t2)
|
|||
if (player->bubblepop > 1)
|
||||
{
|
||||
K_DropHnextList(player, false);
|
||||
player->bubblepop = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7050,7 +7050,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
// Start at lap 1 when using old checkpoint system just to be safe.
|
||||
if ((numbosswaypoints > 0) && (player->laps == 0) && (numlaps > 0))
|
||||
player->laps = 1;
|
||||
|
||||
|
||||
if (player->stealingtimer == 0 && player->stolentimer == 0
|
||||
&& player->rocketsneakertimer)
|
||||
player->rocketsneakertimer--;
|
||||
|
|
@ -7138,6 +7138,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
player->bubbleblowup = 0;
|
||||
player->bubblecool = 0;
|
||||
player->bubblepop = 0;
|
||||
}
|
||||
|
||||
if (player->itemtype != KITEM_FLAMESHIELD)
|
||||
|
|
|
|||
Loading…
Reference in a new issue