X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_walk.c;h=21390c2610ee462aaafa770886a261b98fb1ce9c;hb=9eb3de757a997becb8406417a4bf613f4cb04900;hp=dea80e567e671cfaf4bb8b921aced0d055f6074d;hpb=b615f03b922d155f9449d2a23d3cc18eed320ed3;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_walk.c b/player_walk.c index dea80e5..21390c2 100644 --- a/player_walk.c +++ b/player_walk.c @@ -88,7 +88,7 @@ VG_STATIC void player_walk_drop_in_to_skate( player_instance *player ) v3_muladds( player->rb.co, player->rb.to_world[1], 1.0f, s->state.cog ); v3_copy( init_velocity, s->state.cog_v ); v3_copy( init_velocity, player->rb.v ); - v3_copy( init_velocity, player->cam_velocity_smooth ); + v3_copy( init_velocity, player->cam_control.cam_velocity_smooth ); v3_copy( (v3f){1.0f,0.0f,0.0f}, s->state.trick_euler ); }