[nexuiz-commits] r8416 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Dec 19 04:59:05 EST 2009
Author: fruitiex
Date: 2009-12-19 04:59:05 -0500 (Sat, 19 Dec 2009)
New Revision: 8416
Modified:
trunk/data/qcsrc/server/race.qc
Log:
set -2 on defrag checkpoints, still does not fully fix the problem where two players cant pass the cp simultaneously...
Modified: trunk/data/qcsrc/server/race.qc
===================================================================
--- trunk/data/qcsrc/server/race.qc 2009-12-18 22:26:26 UTC (rev 8415)
+++ trunk/data/qcsrc/server/race.qc 2009-12-19 09:59:05 UTC (rev 8416)
@@ -614,6 +614,12 @@
race_highest_checkpoint = 255;
race_timed_checkpoint = 255;
}
+ entity targ;
+ for(targ = world; (targ = find(targ, target, self.targetname)); )
+ if (targ.classname == "trigger_multiple") {
+ targ.wait = -2; // still needs investigating, why cant two players pass a (defrag) checkpoint at the same time?
+ targ.delay = 0;
+ }
}
else {
for(cp = world; (cp = find(cp, classname, "trigger_race_checkpoint")); )
@@ -692,7 +698,6 @@
}
defrag_ents = 1;
-
EXACTTRIGGER_INIT;
self.use = checkpoint_use;
More information about the nexuiz-commits
mailing list