summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 0d40f38c..5b582458 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1459,7 +1459,7 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
if( client->sess.sessionTeam != TEAM_SPECTATOR &&
client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS )
{
- if( !spawn && spawnPoint->s.origin2[ 2 ] > 0.0f )
+ if( ent != spawn && spawnPoint->s.origin2[ 2 ] > 0.0f )
{
vec3_t forward, dir;