r2085 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jan 2 08:30:18 EST 2007


Author: div0
Date: 2007-01-02 08:30:18 -0500 (Tue, 02 Jan 2007)
New Revision: 2085

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
autoscreenshot again


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2007-01-01 17:47:03 UTC (rev 2084)
+++ trunk/data/qcsrc/server/g_world.qc	2007-01-02 13:30:18 UTC (rev 2085)
@@ -724,11 +724,12 @@
 void() IntermissionThink =
 {
 	if(cvar("sv_autoscreenshot"))
-	if(self.cnt > time)
+	if(self.cnt)
+	if(time > self.cnt)
 	{
 		self.cnt = FALSE;
 		if(clienttype(self) == CLIENTTYPE_REAL)
-			stuffcmd(self, "screenshot\necho \"^5A screenshot has been taken at request of the server.\"\n");
+			stuffcmd(self, "\nscreenshot\necho \"^5A screenshot has been taken at request of the server.\"\n");
 		return;
 	}
 
@@ -896,7 +897,7 @@
 		other.movetype = MOVETYPE_NONE;
 		other.angles = other.v_angle;
 		other.angles_x = other.angles_x * -1;
-		other.cnt = time + 0.5;	// used for autoscreenshot
+		other.cnt = time + 0.8;	// used for autoscreenshot
 
 		self = other;
 




More information about the nexuiz-commits mailing list