mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Fix clippy lint in purple night
This commit is contained in:
parent
14c6542e7b
commit
284e30078f
|
@ -1002,7 +1002,7 @@ impl SlimeData {
|
|||
entity.sprite.set_sprite(sprite);
|
||||
|
||||
entity.velocity.x = match frame {
|
||||
2 | 3 | 4 => (Number::new(1) / 5) * Number::new(*direction as i32),
|
||||
2..=4 => (Number::new(1) / 5) * Number::new(*direction as i32),
|
||||
_ => 0.into(),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue