aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-03-27 03:21:32 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-03-27 03:21:32 +0000
commitf1d656fc10833dd3495165d991538a5bde5cce41 (patch)
tree806fd7eab28bf525c5e24e0247de14b86716eed0 /code
parent031926b7d00a9483c666423faadd8b6fc33306a4 (diff)
downloadioquake3-aero-f1d656fc10833dd3495165d991538a5bde5cce41.tar.gz
ioquake3-aero-f1d656fc10833dd3495165d991538a5bde5cce41.zip
These checks are now redundant.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1286 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/client/cl_scrn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c
index b7ab529..d159484 100644
--- a/code/client/cl_scrn.c
+++ b/code/client/cl_scrn.c
@@ -450,7 +450,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
// if the menu is going to cover the entire screen, we
// don't need to render anything under it
- if ( uivm && !VM_Call( uivm, UI_IS_FULLSCREEN )) {
+ if ( !VM_Call( uivm, UI_IS_FULLSCREEN )) {
switch( cls.state ) {
default:
Com_Error( ERR_FATAL, "SCR_DrawScreenField: bad cls.state" );
@@ -490,7 +490,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
}
// the menu draws next
- if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) {
+ if ( Key_GetCatcher( ) & KEYCATCH_UI ) {
VM_Call( uivm, UI_REFRESH, cls.realtime );
}