]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
set allowed_to_spawn = TRUE as early as we can, this way bots already connected after...
authorFruitieX <rasse@rasse-laptop.(none)>
Sat, 23 Oct 2010 15:11:10 +0000 (18:11 +0300)
committerFruitieX <rasse@rasse-laptop.(none)>
Sat, 23 Oct 2010 15:11:10 +0000 (18:11 +0300)
qcsrc/server/arena.qc
qcsrc/server/defs.qh
qcsrc/server/g_world.qc

index 4a3d51449e9b29455692bea5211c15b9183abcd8..a11e01d06f364ac76bfa061f9bf2518ee33ef7f4 100644 (file)
@@ -10,7 +10,6 @@ entity spawnqueue_last;
 entity champion;
 string champion_name;
 float warmup;
-float allowed_to_spawn;
 float ca_players;
 float required_ca_players;
 .float caplayer;
index d1d86ed79a19703ceb266b0f5d8bf40e6836d7d2..745a6e0b2a5e148be15ba87a3e3da7079d4d2f86 100644 (file)
@@ -651,3 +651,5 @@ string deathmessage;
 .entity realowner;
 
 .float nex_charge;
+
+float allowed_to_spawn; // boolean variable used by the clan arena code to determine if a player can spawn (after the round has ended)
index 08329a29d7e61a76a2f1e3097b307a93fa0fff78..510e2c1b705a1f58c1251fbac122dfa1df69449b 100644 (file)
@@ -440,6 +440,8 @@ void spawnfunc_worldspawn (void)
 
        compressShortVector_init();
 
+       allowed_to_spawn = TRUE;
+
        local entity head;
        head = nextent(world);
        maxclients = 0;