mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-07 20:01:21 +00:00
Cancel pogo spring when bumping a wall
Prevents instances where you can use it to stick in one spot in Battle
This commit is contained in:
parent
3761a51e6b
commit
f5be6fb910
1 changed files with 1 additions and 0 deletions
|
|
@ -3784,6 +3784,7 @@ void P_BouncePlayerMove(mobj_t *mo)
|
|||
S_StartSound(mo, sfx_s3k49);
|
||||
}
|
||||
|
||||
mo->player->kartstuff[k_pogospring] = 0; // Cancel pogo spring effect so you aren't shoved forward back into the wall you just bounced off
|
||||
P_PlayerHitBounceLine(bestslideline);
|
||||
mo->eflags |= MFE_JUSTBOUNCEDWALL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue