r1409 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jul 5 21:30:42 EDT 2008
Author: tma
Date: 2008-07-05 21:30:42 -0400 (Sat, 05 Jul 2008)
New Revision: 1409
Modified:
trunk/code/client/cl_scrn.c
Log:
* Fixed client binary dedicated server
* Revert 1286 as the checks are no longer redundant following above fix
Modified: trunk/code/client/cl_scrn.c
===================================================================
--- trunk/code/client/cl_scrn.c 2008-07-06 01:00:00 UTC (rev 1408)
+++ trunk/code/client/cl_scrn.c 2008-07-06 01:30:42 UTC (rev 1409)
@@ -492,7 +492,7 @@
// if the menu is going to cover the entire screen, we
// don't need to render anything under it
- if ( !VM_Call( uivm, UI_IS_FULLSCREEN )) {
+ if ( uivm && !VM_Call( uivm, UI_IS_FULLSCREEN )) {
switch( cls.state ) {
default:
Com_Error( ERR_FATAL, "SCR_DrawScreenField: bad cls.state" );
@@ -536,7 +536,7 @@
}
// the menu draws next
- if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
+ if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) {
VM_Call( uivm, UI_REFRESH, cls.realtime );
}
@@ -569,9 +569,9 @@
}
recursive = 1;
- /* If there is no VM, there are also no rendering commands issued. Stop the renderer in
- * that case. */
- if(uivm)
+ // If there is no VM, there are also no rendering commands issued. Stop the renderer in
+ // that case.
+ if( uivm || com_dedicated->integer )
{
// if running in stereo, we need to draw the frame twice
if ( cls.glconfig.stereoEnabled || Cvar_VariableIntegerValue("r_anaglyphMode")) {
More information about the quake3-commits
mailing list