]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile error
authorMario <mario.mario@y7mail.com>
Tue, 1 Oct 2013 16:17:21 +0000 (09:17 -0700)
committerMario <mario.mario@y7mail.com>
Tue, 1 Oct 2013 16:17:21 +0000 (09:17 -0700)
qcsrc/server/mutators/mutator_spawn_near_teammate.qc

index f17b264172e26b282333b5e07225b253687f78e6..8aec0bdc38de1e9f0b6cc404a187c70e6b1e39e2 100644 (file)
@@ -54,7 +54,7 @@ MUTATOR_HOOKFUNCTION(msnt_PlayerSpawn)
                        if((autocvar_g_spawn_near_teammate_ignore_spawnpoint_check_health >= 0 && team_mate.health >= autocvar_g_balance_health_regenstable) || autocvar_g_spawn_near_teammate_ignore_spawnpoint_check_health == 0)
                        if(team_mate.deadflag == DEAD_NO)
                        if(team_mate.msnt_timer < time)
-                       if(!IsDifferentTeam(self, team_mate))
+                       if(SAME_TEAM(self, team_mate))
                        if(time > team_mate.spawnshieldtime) // spawn shielding
                        if(team_mate.freezetag_frozen == 0)
                        if(team_mate != self)