mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
No charging whip with rocketsneakers
This commit is contained in:
parent
4928fec622
commit
0b341a02aa
1 changed files with 2 additions and 2 deletions
|
|
@ -8295,7 +8295,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
S_StopSoundByID(player->mo, sfx_wchrg2);
|
||||
}
|
||||
|
||||
if (player->itemamount || player->respawn.state != RESPAWNST_NONE || player->itemRoulette.eggman)
|
||||
if (player->itemamount || player->respawn.state != RESPAWNST_NONE || player->pflags & (PF_ITEMOUT|PF_EGGMANOUT) || player->rocketsneakertimer)
|
||||
player->instaWhipCharge = 0;
|
||||
|
||||
if (player->tiregrease)
|
||||
|
|
@ -11031,7 +11031,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
player->instaWhipCharge = INSTAWHIP_CHARGETIME;
|
||||
}
|
||||
|
||||
if (leveltime < starttime || player->spindash)
|
||||
if (leveltime < starttime || player->spindash || player->pflags & (PF_ITEMOUT|PF_EGGMANOUT) || player->rocketsneakertimer)
|
||||
{
|
||||
chargingwhip = false;
|
||||
player->instaWhipCharge = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue