r3743 - in branches/nexuiz-2.0: . data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 30 02:55:02 EDT 2008


Author: div0
Date: 2008-06-30 02:55:02 -0400 (Mon, 30 Jun 2008)
New Revision: 3743

Modified:
   branches/nexuiz-2.0/.patchsets
   branches/nexuiz-2.0/data/qcsrc/server/cl_physics.qc
Log:
r3742 | div0 | 2008-06-30 08:54:23 +0200 (Mon, 30 Jun 2008) | 2 lines
moving the mouse is also non-idling. I wonder if chatting should count as not idling too...

Modified: branches/nexuiz-2.0/.patchsets
===================================================================
--- branches/nexuiz-2.0/.patchsets	2008-06-30 06:54:23 UTC (rev 3742)
+++ branches/nexuiz-2.0/.patchsets	2008-06-30 06:55:02 UTC (rev 3743)
@@ -1,2 +1,2 @@
 master = svn://svn.icculus.org/nexuiz/trunk
-revisions_applied = 1-3730,3737-3740
+revisions_applied = 1-3730,3737-3742

Modified: branches/nexuiz-2.0/data/qcsrc/server/cl_physics.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/cl_physics.qc	2008-06-30 06:54:23 UTC (rev 3742)
+++ branches/nexuiz-2.0/data/qcsrc/server/cl_physics.qc	2008-06-30 06:55:02 UTC (rev 3743)
@@ -112,6 +112,7 @@
 
 .vector movement_old;
 .float buttons_old;
+.vector v_angle_old;
 
 void Nixnex_GiveCurrentWeapon();
 void SV_PlayerPhysics()
@@ -129,6 +130,10 @@
 		self.parm_idlesince = time;
 	self.movement_old = self.movement;
 
+	if(self.v_angle != self.v_angle_old)
+		self.parm_idlesince = time;
+	self.v_angle_old = self.v_angle;
+
 	if(time > self.shtest_next)
 	{
 		if(self.shtest_next > 0)




More information about the nexuiz-commits mailing list