Fix various minor issues
This commit is contained in:
@@ -221,11 +221,6 @@ impl FighterStateImpl for JumpState {
|
||||
};
|
||||
|
||||
state_context.velocity.y = vertical_vel;
|
||||
state_context.velocity.x += state_context
|
||||
.fighter_manifest
|
||||
.attributes
|
||||
.jump_horizontal_velocity
|
||||
* movement_stick_x;
|
||||
}
|
||||
|
||||
fn check_collision_interrupt(
|
||||
|
||||
@@ -120,7 +120,7 @@ impl FighterStateContext<'_> {
|
||||
anims_data
|
||||
.frame_count(self.animation_frame.kind)
|
||||
.expect("Current animation should have baked frames")
|
||||
< self.animation_frame.frame
|
||||
<= self.animation_frame.frame
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user