Don't use mouse for player while console is open

Caused by the previous commit.
This commit is contained in:
Zack Middleton 2023-06-06 07:31:56 -05:00
parent ed4bec3d46
commit a9c7189b39

View file

@ -1200,7 +1200,10 @@ static void IN_ProcessEvents( void )
if( !xrel && !yrel )
break;
Com_QueueEvent( in_eventTime, SE_MOUSE, xrel, yrel, 0, NULL );
if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
Com_QueueEvent( in_eventTime, SE_MOUSE, xrel, yrel, 0, NULL );
}
break;
}
break;