mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-29 11:12:30 +00:00
Don't bubbledash when throwing
This commit is contained in:
parent
86ff4f720b
commit
69d5d368ca
1 changed files with 6 additions and 3 deletions
|
|
@ -11428,9 +11428,12 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
if (player->bubbleblowup > bubbletime*2)
|
||||
{
|
||||
K_ThrowKartItem(player, (player->throwdir > 0), MT_BUBBLESHIELDTRAP, -1, 0, 0);
|
||||
P_InstaThrust(player->mo, player->mo->angle, player->speed + (80 * mapobjectscale));
|
||||
player->sliptideZipBoost += TICRATE; // Just for keeping speed briefly vs. tripwire etc.
|
||||
// If this doesn't turn out to be reliable, I'll change it to directly set leniency or something.
|
||||
if (player->throwdir == -1)
|
||||
{
|
||||
P_InstaThrust(player->mo, player->mo->angle, player->speed + (80 * mapobjectscale));
|
||||
player->sliptideZipBoost += TICRATE; // Just for keeping speed briefly vs. tripwire etc.
|
||||
// If this doesn't turn out to be reliable, I'll change it to directly set leniency or something.
|
||||
}
|
||||
K_PlayAttackTaunt(player->mo);
|
||||
player->bubbleblowup = 0;
|
||||
player->bubblecool = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue