update for ui api
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 9a03e19134fe2827e98f584716ad59ab25b24a2c..1ecbae9a8eefa08ee7ae49d3cf602ae78ffb5041 100644 (file)
@@ -269,7 +269,7 @@ void player__cam_iterate(void)
 
 void player_look( v3f angles, float speed )
 {
-   if( g_ui_ctx->wants_mouse ) return;
+   if( vg_ui.ctx.wants_mouse ) return;
 
    angles[2] = 0.0f;