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
This commit is contained in:
parent
2b91cb8773
commit
b0314f69c5
|
@ -580,7 +580,6 @@ impl<'a> Player<'a> {
|
|||
|
||||
match self.state {
|
||||
PlayerState::OnGround => {
|
||||
self.entity.velocity.y = 0.into();
|
||||
self.entity.velocity.x = self.entity.velocity.x * 40 / 64;
|
||||
|
||||
match &mut self.attack_timer {
|
||||
|
|
Loading…
Reference in a new issue