r5659 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Jan 24 15:10:58 EST 2009
Author: div0
Date: 2009-01-24 15:10:58 -0500 (Sat, 24 Jan 2009)
New Revision: 5659
Modified:
trunk/data/qcsrc/server/arena.qc
Log:
fix reset_map logic
Modified: trunk/data/qcsrc/server/arena.qc
===================================================================
--- trunk/data/qcsrc/server/arena.qc 2009-01-24 19:51:12 UTC (rev 5658)
+++ trunk/data/qcsrc/server/arena.qc 2009-01-24 20:10:58 UTC (rev 5659)
@@ -24,7 +24,7 @@
* Resets the state of all clients, items, flags, runes, keys, weapons, waypoints, ... of the map.
* Sets the 'warmup' global variable.
*/
-void reset_map(float norespawn)
+void reset_map(float dorespawn)
{
entity oldself;
oldself = self;
@@ -70,7 +70,7 @@
// Moving the player reset code here since the player-reset depends
// on spawnpoint entities which have to be reset first --blub
- if(!norespawn)
+ if(dorespawn)
FOR_EACH_CLIENT(self) {
if(self.flags & FL_CLIENT) // reset all players
{
More information about the nexuiz-commits
mailing list