r5833 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Feb 11 04:44:36 EST 2009
Author: div0
Date: 2009-02-11 04:44:23 -0500 (Wed, 11 Feb 2009)
New Revision: 5833
Modified:
trunk/data/qcsrc/client/View.qc
Log:
fix a simple div by zero
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2009-02-11 08:10:12 UTC (rev 5832)
+++ trunk/data/qcsrc/client/View.qc 2009-02-11 09:44:23 UTC (rev 5833)
@@ -317,6 +317,11 @@
// Draw the World (and sky)
R_SetView(VF_DRAWWORLD, 1);
+ // Set the console size vars
+ vid_conwidth = cvar("vid_conwidth");
+ vid_conheight = cvar("vid_conheight");
+ vid_pixelheight = cvar("vid_pixelheight");
+
R_SetView(VF_FOV, GetCurrentFov(fov));
// Camera for demo playback
@@ -353,11 +358,6 @@
// Draw the Engine Status Bar (the default Quake HUD)
R_SetView(VF_DRAWENGINESBAR, 0);
- // Set the console size vars
- vid_conwidth = cvar("vid_conwidth");
- vid_conheight = cvar("vid_conheight");
- vid_pixelheight = cvar("vid_pixelheight");
-
// fetch this one only once per frame
sbar_showbinds = cvar("sbar_showbinds");
sbar_showbinds_limit = cvar("sbar_showbinds_limit");
More information about the nexuiz-commits
mailing list