GitOrigin-RevId: 657d92ebbd
657d92ebbd
@ -60,6 +60,7 @@ namespace SemiColinGames {
if (oldPosition.Y > position.Y) {
int diff = playerBbox.Top - rect.Bottom;
position.Y -= diff;
// TODO: set ySpeed = 0 here so that bonking our head actually reduces hangtime?
} else {
standingOnGround = true;
int diff = playerBbox.Bottom - rect.Top;