From: Samual Lenks Date: Wed, 15 May 2013 01:47:09 +0000 (-0400) Subject: "teamplay" is not set yet, just check the serverflag directly X-Git-Tag: xonotic-v0.7.0~44 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d65a0c16279ca46e0ecbceb8b6c7b50441c13e08;p=xonotic%2Fxonotic-data.pk3dir.git "teamplay" is not set yet, just check the serverflag directly --- diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 06d8c5128..03affc67c 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -727,7 +727,7 @@ void Ent_ReadSpawnPoint(float is_new) // entity for spawnpoint }*/ if(autocvar_cl_spawn_point_particles) { - if(teamplay) + if((serverflags & SERVERFLAG_TEAMPLAY)) { switch(teamnum) {