mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Fix landing 1 pixel above the ground in purple night (#381)
- [x] Changelog updated / no changelog update needed
This commit is contained in:
commit
64bd1ad7dd
|
@ -580,7 +580,6 @@ impl<'a> Player<'a> {
|
||||||
|
|
||||||
match self.state {
|
match self.state {
|
||||||
PlayerState::OnGround => {
|
PlayerState::OnGround => {
|
||||||
self.entity.velocity.y = 0.into();
|
|
||||||
self.entity.velocity.x = self.entity.velocity.x * 40 / 64;
|
self.entity.velocity.x = self.entity.velocity.x * 40 / 64;
|
||||||
|
|
||||||
match &mut self.attack_timer {
|
match &mut self.attack_timer {
|
||||||
|
|
Loading…
Reference in a new issue