X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_common.c;h=9a03e19134fe2827e98f584716ad59ab25b24a2c;hb=5a233469f45ee7cbdc89cb87956f9ef2989ad1b5;hp=6ab378d6039d8317ea3cbdc774a7c9bb168f4155;hpb=d74362c9d867f465d887ccd0df36c07efb5e125c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_common.c b/player_common.c index 6ab378d..9a03e19 100644 --- a/player_common.c +++ b/player_common.c @@ -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;