adaptions for vg3.000
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 6ab378d6039d8317ea3cbdc774a7c9bb168f4155..9a03e19134fe2827e98f584716ad59ab25b24a2c 100644 (file)
@@ -269,7 +269,7 @@ void player__cam_iterate(void)
 
 void player_look( v3f angles, float speed )
 {
-   if( vg_ui.wants_mouse ) return;
+   if( g_ui_ctx->wants_mouse ) return;
 
    angles[2] = 0.0f;