r2087 - branches/nexuiz-2.0/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jan 3 14:00:29 EST 2007
Author: div0
Date: 2007-01-03 14:00:29 -0500 (Wed, 03 Jan 2007)
New Revision: 2087
Modified:
branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
Log:
autoscreenshot
Modified: branches/nexuiz-2.0/data/qcsrc/server/g_world.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/g_world.qc 2007-01-02 14:14:20 UTC (rev 2086)
+++ branches/nexuiz-2.0/data/qcsrc/server/g_world.qc 2007-01-03 19:00:29 UTC (rev 2087)
@@ -686,11 +686,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;
}
@@ -858,7 +859,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