r6102 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Mar 11 15:46:32 EDT 2009
Author: div0
Date: 2009-03-11 15:46:32 -0400 (Wed, 11 Mar 2009)
New Revision: 6102
Modified:
trunk/data/qcsrc/client/View.qc
Log:
get rid of the v_flipped toggle
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2009-03-10 15:19:37 UTC (rev 6101)
+++ trunk/data/qcsrc/client/View.qc 2009-03-11 19:46:32 UTC (rev 6102)
@@ -204,7 +204,6 @@
entity e;
float fov;
float f;
- vector v1, v2;
dprint_load();
WaypointSprite_Load();
@@ -223,24 +222,18 @@
view_set = 1;
}
- f = floor(cvar("v_flipped"));
- cvar_set("v_flipped", ftos(!f));
- v1 = cs_unproject('-100 -100 1000');
- cvar_set("v_flipped", ftos(f));
- v2 = cs_unproject('-100 -100 1000');
-
- if(v1 == v2)
+ if(csqc_flags & CSQC_FLAG_COLORCODES)
{
- // non-supporting engine
- vid_width = cvar("vid_width");
- vid_height = cvar("vid_height");
- }
- else
- {
// supporting engine
vid_width = w;
vid_height = h;
}
+ else
+ {
+ // non-supporting engine
+ vid_width = cvar("vid_width");
+ vid_height = cvar("vid_height");
+ }
#ifdef BLURTEST
if(time > blurtest_time0 && time < blurtest_time1)
More information about the nexuiz-commits
mailing list