Fix bug where game freezes in infinite loop because it doesn't find a spawn point on maps with many bot/human-only spawnpoints. Thanks Pan for reporting this

This commit is contained in:
Thilo Schulz 2009-11-03 13:28:52 +00:00
parent 018de1dd2e
commit f5d79ea066
6 changed files with 89 additions and 62 deletions

View file

@ -625,7 +625,7 @@ void ClientEvents( gentity_t *ent, int oldEventSequence ) {
}
}
#endif
SelectSpawnPoint( ent->client->ps.origin, origin, angles );
SelectSpawnPoint( ent->client->ps.origin, origin, angles, qfalse );
TeleportPlayer( ent, origin, angles );
break;