mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
Merge branch 'unglue-metalsonic' into 'master'
Unglue Metal Sonic after floating onto a platform Closes #344 See merge request STJr/SRB2Internal!526
This commit is contained in:
commit
50545cbc6a
1 changed files with 1 additions and 1 deletions
|
|
@ -5567,7 +5567,7 @@ static void P_DoJumpStuff(player_t *player, ticcmd_t *cmd)
|
|||
else
|
||||
potentialmomz = ((player->speed < 10*player->mo->scale)
|
||||
? (player->speed - 10*player->mo->scale)/5
|
||||
: 0);
|
||||
: -1); // Should be 0, but made negative to ensure P_PlayerHitFloor runs upon touching ground
|
||||
if (P_MobjFlip(player->mo)*player->mo->momz < potentialmomz)
|
||||
player->mo->momz = P_MobjFlip(player->mo)*potentialmomz;
|
||||
player->pflags &= ~PF_SPINNING;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue