unlock rendering
[carveJwlIkooP6JGAAIwe30JlM.git] / player_walk.h
index 3dcdbd8001bbbe14a2fe634ac3431eba81ee6d54..d422e752b44c008a4c9ce9c9419c870ae8363f18 100644 (file)
@@ -38,13 +38,13 @@ struct player_walk{
 
       int jump_queued;
       f64 jump_input_time;
+
+      f32 walk_timer;
+      int step_phase;
    }
    state;
 
-   f32 move_speed,
-       walk_timer;
-
-   int step_phase;
+   f32 move_speed;
 
    enum mdl_surface_prop surface;
    struct skeleton_anim *anim_walk, *anim_run, *anim_idle, *anim_jump,
@@ -57,6 +57,8 @@ struct player_walk{
           run,
           walk;
 
+      f32 walk_timer;
+
       v3f foot_anchor;
       enum walk_outro outro_type;
       f32 outro_t,