r2399 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Apr 25 17:02:23 EDT 2007


Author: div0
Date: 2007-04-25 17:02:23 -0400 (Wed, 25 Apr 2007)
New Revision: 2399

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


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2007-04-25 18:24:50 UTC (rev 2398)
+++ trunk/data/qcsrc/server/g_world.qc	2007-04-25 21:02:23 UTC (rev 2399)
@@ -819,10 +819,10 @@
 	FixIntermissionClient(self);
 
 	if(cvar("sv_autoscreenshot"))
-	if(self.autoscreenshot)
+	if(self.autoscreenshot > 0)
 	if(time > self.autoscreenshot)
 	{
-		self.autoscreenshot = FALSE;
+		self.autoscreenshot = -1;
 		if(clienttype(self) == CLIENTTYPE_REAL)
 			stuffcmd(self, "\nscreenshot\necho \"^5A screenshot has been taken at request of the server.\"\n");
 		return;




More information about the nexuiz-commits mailing list