From 343590fb5ec7fbe0cb651c45b4ad7de7c83edb5f Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 27 Jun 2005 01:45:53 +0000 Subject: * Fixed a minor bug with the change in spawn direction --- src/game/g_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 ] ); -- cgit