ent_challenge extra features
[carveJwlIkooP6JGAAIwe30JlM.git] / player_walk.c
index 815e4b4a70f81ade5c718023fa6ec1cd82b719a5..87c2246fe6960a662852f3210d95abfc8e1c062d 100644 (file)
@@ -918,6 +918,12 @@ VG_STATIC void player__walk_bind( player_instance *player ){
 VG_STATIC void player__walk_transition( player_instance *player ){
    struct player_walk *w = &player->_walk;
    w->state.activity = k_walk_activity_air;
+   w->state.outro_type = k_walk_outro_none;
+   w->state.outro_start_time = 0.0;
+   w->state.jump_queued = 0;
+   w->state.jump_input_time = 0.0;
+   w->state.walk_timer = 0.0f;
+   w->state.step_phase = 0;
 
    v3f fwd = { 0.0f, 0.0f, 1.0f };
    q_mulv( player->rb.q, fwd, fwd );