test network 5
[carveJwlIkooP6JGAAIwe30JlM.git] / player_skate.c
index 1ea632a7ce1d87c78a69b6ef850f134708178787..dbf927b0416ec8df4ab253810a0f244c5fef4102 100644 (file)
@@ -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 );
 }