r4550 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 29 02:53:47 EDT 2008
Author: div0
Date: 2008-09-29 02:53:47 -0400 (Mon, 29 Sep 2008)
New Revision: 4550
Modified:
trunk/data/qcsrc/client/View.qc
Log:
support r_letterbox and viewsize for disabling the HUD
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2008-09-29 06:51:11 UTC (rev 4549)
+++ trunk/data/qcsrc/client/View.qc 2008-09-29 06:53:47 UTC (rev 4550)
@@ -294,7 +294,9 @@
} else */
if(!draw_enginesbar)
{
- CSQC_common_hud();
+ if(cvar("r_letterbox") == 0)
+ if(cvar("viewsize") < 120)
+ CSQC_common_hud();
}
if(gametype == GAME_ONSLAUGHT)
More information about the nexuiz-commits
mailing list