1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-12-01 00:29:58 +00:00

Fix upward wind tile's gravity

This commit is contained in:
dawnDus 2022-03-06 19:04:15 -05:00
parent 465825797e
commit 62efbf0cc3
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -457,7 +457,7 @@ impl Player {
_ => {}
}
} else if self.flags.force_up() {
self.vel_y += physics.gravity_air;
self.vel_y += physics.gravity_ground;
} else if self.equip.has_booster_0_8() && self.booster_switch != BoosterSwitch::None && self.vel_y > -0x400 {
self.vel_y -= 0x20;