summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index ecb56723..4cde34b7 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -521,6 +521,8 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
trap_LocateGameData( level.gentities, level.num_entities, sizeof( gentity_t ),
&level.clients[ 0 ].ps, sizeof( level.clients[ 0 ] ) );
+ trap_SetConfigstring( CS_INTERMISSION, "0" );
+
// parse the key/value pairs and spawn gentities
G_SpawnEntitiesFromString( );
@@ -1564,7 +1566,7 @@ void CheckIntermissionExit( void )
if( cl->pers.connected != CON_CONNECTED )
continue;
- if( cl->sess.sessionTeam == TEAM_SPECTATOR )
+ if( cl->ps.stats[ STAT_PTEAM ] == PTE_NONE )
continue;
if( g_entities[ cl->ps.clientNum ].r.svFlags & SVF_BOT )