summaryrefslogtreecommitdiff
path: root/src/client/cl_scrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_scrn.c')
-rw-r--r--src/client/cl_scrn.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/cl_scrn.c b/src/client/cl_scrn.c
index 21f4b932..a8d37e22 100644
--- a/src/client/cl_scrn.c
+++ b/src/client/cl_scrn.c
@@ -426,14 +426,9 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
}
}
- if ( !uivm ) {
- Com_DPrintf("draw screen without UI loaded\n");
- return;
- }
-
// 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" );