r4162 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Aug 23 11:42:20 EDT 2008
Author: div0
Date: 2008-08-23 11:42:16 -0400 (Sat, 23 Aug 2008)
New Revision: 4162
Modified:
trunk/data/qcsrc/server/arena.qc
Log:
fix ready-restart in CTF
Modified: trunk/data/qcsrc/server/arena.qc
===================================================================
--- trunk/data/qcsrc/server/arena.qc 2008-08-23 15:40:42 UTC (rev 4161)
+++ trunk/data/qcsrc/server/arena.qc 2008-08-23 15:42:16 UTC (rev 4162)
@@ -34,8 +34,8 @@
race_ReadyRestart();
- self = nextent(world);
- while(self)
+ for(self = world; (self = nextent(self)); )
+ if(clienttype(self) == CLIENTTYPE_NOTACLIENT)
{
if(self.classname == STR_ITEM_KH_KEY)
{
@@ -102,7 +102,6 @@
{
self.team = self.team_saved;
}
- self = nextent(self);
}
// Moving the player reset code here since the player-reset depends
More information about the nexuiz-commits
mailing list