[nexuiz-commits] r7255 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jul 23 06:22:30 EDT 2009


Author: div0
Date: 2009-07-23 06:22:30 -0400 (Thu, 23 Jul 2009)
New Revision: 7255

Modified:
   trunk/data/qcsrc/client/View.qc
Log:
fix spam


Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc	2009-07-23 08:23:15 UTC (rev 7254)
+++ trunk/data/qcsrc/client/View.qc	2009-07-23 10:22:30 UTC (rev 7255)
@@ -564,11 +564,13 @@
 			// TrueAim check
 			float shottype;
 			float bullets, ring_scale;
-			wcross_origin = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;
+			// wcross_origin = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;
+			wcross_origin = project_3d_to_2d(view_origin + MAX_SHOT_DISTANCE * view_forward);
             if(cvar("crosshair_hittest"))
                 shottype = TrueAimCheck();
             else
                 shottype = SHOTTYPE_HITWORLD;
+			wcross_origin_z = 0;
 
             string wcross_style;
             wcross_style = cvar_string("crosshair");



More information about the nexuiz-commits mailing list