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:
1 parent
018de1dd2e
commit
f5d79ea066
6 files changed
+89
-62
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user