a mess but stable
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 6ab378d6039d8317ea3cbdc774a7c9bb168f4155..1ecbae9a8eefa08ee7ae49d3cf602ae78ffb5041 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( vg_ui.ctx.wants_mouse ) return;
 
    angles[2] = 0.0f;