mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix infinite bubble bug
This commit is contained in:
parent
1886115e54
commit
e5fb55df83
1 changed files with 14 additions and 17 deletions
|
|
@ -6734,9 +6734,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
|
|
||||||
if (!HOLDING_ITEM && NO_HYUDORO)
|
if (!HOLDING_ITEM && NO_HYUDORO)
|
||||||
{
|
{
|
||||||
if (cmd->buttons & BT_ATTACK)
|
if ((cmd->buttons & BT_ATTACK) && player->kartstuff[k_holdready])
|
||||||
{
|
|
||||||
if (player->kartstuff[k_holdready])
|
|
||||||
{
|
{
|
||||||
if (player->kartstuff[k_bubbleblowup] == 0)
|
if (player->kartstuff[k_bubbleblowup] == 0)
|
||||||
S_StartSound(player->mo, sfx_s3k75);
|
S_StartSound(player->mo, sfx_s3k75);
|
||||||
|
|
@ -6754,7 +6752,6 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
player->kartstuff[k_itemamount]--;
|
player->kartstuff[k_itemamount]--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (player->kartstuff[k_bubbleblowup] > bubbletime)
|
if (player->kartstuff[k_bubbleblowup] > bubbletime)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue