summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 0cc6ab05..24b7900c 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1445,7 +1445,8 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
G_AddPredictableEvent( ent, EV_PLAYER_RESPAWN, 0 );
}
}
- else if( client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS )
+ else if( client->sess.sessionTeam != TEAM_SPECTATOR &&
+ client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS )
{
spawn_angles[ YAW ] += 180.0f;
AngleNormalize360( spawn_angles[ YAW ] );