X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=player_skate.c;h=dbf927b0416ec8df4ab253810a0f244c5fef4102;hb=333430b27b5f9f73cbe9ad7921a4735aaff444f1;hp=1ea632a7ce1d87c78a69b6ef850f134708178787;hpb=22f62f001f21d1b91fefd9fc495c122d9ddf205a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_skate.c b/player_skate.c index 1ea632a..dbf927b 100644 --- a/player_skate.c +++ b/player_skate.c @@ -3115,7 +3115,8 @@ static void player__skate_post_animate(void){ localplayer.cam_velocity_influence = 1.0f; v3f head = { 0.0f, 1.8f, 0.0f }; - m4x3_mulv( av->sk.final_mtx[ av->id_head ], head, state->head_position ); + m4x3_mulv( localplayer.final_mtx[ av->id_head ], + head, state->head_position ); m4x3_mulv( localplayer.rb.to_local, state->head_position, state->head_position ); }