changes to either walk, run or crawl calculations

This commit is contained in:
Filipriec
2025-11-16 10:03:06 +01:00
parent 8cb6892d30
commit ace0e2d706
3 changed files with 54 additions and 15 deletions

View File

@@ -73,6 +73,7 @@ void render_loop(int speed) {
if (player_state.get_state() != PlayerState::Crawl) {
player_state.set_motion_state_for_speed(player_speed, timing.get_ground_speed());
player_state.toggle_walk_frame(player_speed, tick_counter);
}