mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Add comment
This commit is contained in:
parent
3fa04cb091
commit
287e8133bb
1 changed files with 1 additions and 1 deletions
|
@ -5550,7 +5550,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
|
||||
: -1);
|
||||
: -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…
Reference in a new issue