]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a stupid typo (why did the more stupid fteqcc not notice it)
authorRudolf Polzer <divverent@alientrap.org>
Sun, 15 May 2011 18:00:22 +0000 (20:00 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 15 May 2011 18:00:22 +0000 (20:00 +0200)
qcsrc/server/cl_client.qc

index 52d1a89be0d55dc205bfcebee920a1ad4ec5c38c..1406e13b8fc528f359611a7b11823c2a6783d94c 100644 (file)
@@ -333,7 +333,7 @@ entity SelectSpawnPoint (float anypoint)
                {
                        // we request a spawn for a team, and we have team
                        // spawns, but that team has no spawns?
-                       if(have_team_spawns[0])
+                       if(have_team_spawns_forteam[0])
                                // try noteam spawns
                                teamcheck = 0;
                        else
@@ -343,7 +343,7 @@ entity SelectSpawnPoint (float anypoint)
                else
                        teamcheck = self.team; // MUST be team
        }
-       else if(have_team_spawns == 0 && have_team_spawns[0])
+       else if(have_team_spawns == 0 && have_team_spawns_forteam[0])
                teamcheck = 0; // MUST be noteam
        else
                teamcheck = -1;