mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +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 {
|
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