r2400 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Apr 25 17:03:06 EDT 2007


Author: div0
Date: 2007-04-25 17:03:05 -0400 (Wed, 25 Apr 2007)
New Revision: 2400

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
Log:
yet another autoscreenshot fix


Modified: branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/g_world.qc	2007-04-25 21:02:23 UTC (rev 2399)
+++ branches/nexuiz-2.0/data/qcsrc/server/g_world.qc	2007-04-25 21:03:05 UTC (rev 2400)
@@ -809,10 +809,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