Skip to content
Snippets Groups Projects

Fix CA_BOUNCE height when flipped (Fixes #428)

Merged Zwip-Zwap Zapony requested to merge Zwip-Zwap_Zapony/SRB2:fix-flipped-bounce into next

This merge request fixes P_DoAbilityBounce(player,changemomz) always using the max of two values in all cases, where it should instead be using min while upside-down; fixes #428 (closed).
Also added some blank lines to make the function (subjectively-)nicer to look at, and moved prevmomz initialization into the if (changemomz) block.

­

TL;DR (for changelog authors):
Fixed tail-bouncing height in reverse gravity

Edited by Zwip-Zwap Zapony

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading