View Single Post
Old 07-31-2006, 04:38 PM   #84
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
don't show the cursor during map load:

ui_main.c in function _UI_Refresh:

look for this piece of code:

Code:
	// draw cursor
	UI_SetColor( NULL );
	if (Menu_Count() > 0) {
		UI_DrawHandlePic( uiInfo.uiDC.cursorx, uiInfo.uiDC.cursory, 48, 48, uiInfo.uiDC.Assets.cursor);
	}
change it to:

Code:
	// draw cursor
	UI_SetColor( NULL );
	if (Menu_Count() > 0) {
		uiClientState_t	cstate;
		trap_GetClientState( &cstate );
		if(cstate.connState <= CA_DISCONNECTED || cstate.connState >= CA_ACTIVE) {
			UI_DrawHandlePic( uiInfo.uiDC.cursorx, uiInfo.uiDC.cursory, 48, 48, uiInfo.uiDC.Assets.cursor);
		}
	}


iojamp project lead / coder
ensiform is offline   you may: quote & reply,