r4580 - in trunk/data/qcsrc: client server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 2 11:35:36 EDT 2008


Author: div0
Date: 2008-10-02 11:35:34 -0400 (Thu, 02 Oct 2008)
New Revision: 4580

Modified:
   trunk/data/qcsrc/client/teamradar.qc
   trunk/data/qcsrc/server/waypointsprites.qc
Log:
fix damn bug in the angle :P


Modified: trunk/data/qcsrc/client/teamradar.qc
===================================================================
--- trunk/data/qcsrc/client/teamradar.qc	2008-10-02 14:37:57 UTC (rev 4579)
+++ trunk/data/qcsrc/client/teamradar.qc	2008-10-02 15:35:34 UTC (rev 4580)
@@ -116,7 +116,7 @@
 		mi_picmax_y - mi_picmin_y
 	);
 
-	teamradar_angle = cvar("cl_teamradar_rotation") * 4;
+	teamradar_angle = cvar("cl_teamradar_rotation") * 90;
 	if(!teamradar_angle)
 		teamradar_angle = input_angles_y - 90;
 	teamradar_origin2d = '64 64 0';

Modified: trunk/data/qcsrc/server/waypointsprites.qc
===================================================================
--- trunk/data/qcsrc/server/waypointsprites.qc	2008-10-02 14:37:57 UTC (rev 4579)
+++ trunk/data/qcsrc/server/waypointsprites.qc	2008-10-02 15:35:34 UTC (rev 4580)
@@ -162,6 +162,9 @@
 	WriteCoord(MSG_ENTITY, self.origin_y);
 	WriteCoord(MSG_ENTITY, self.origin_z);
 
+	if(self.model == "key-dropped")
+		print("flags: ", ftos(sendflags), "\n");
+
 	if(sendflags & 1)
 	{
 		WriteByte(MSG_ENTITY, self.team);




More information about the nexuiz-commits mailing list