mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-12-01 08:37:23 +00:00
Fix upward wind tile's gravity
This commit is contained in:
parent
465825797e
commit
62efbf0cc3
|
|
@ -457,7 +457,7 @@ impl Player {
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
} else if self.flags.force_up() {
|
} 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 {
|
} else if self.equip.has_booster_0_8() && self.booster_switch != BoosterSwitch::None && self.vel_y > -0x400 {
|
||||||
self.vel_y -= 0x20;
|
self.vel_y -= 0x20;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue