mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- prevent level from exiting if no deathmatch starts are available in multiplayer
This commit is contained in:
parent
000037dbf6
commit
205c64d4b1
1 changed files with 1 additions and 1 deletions
|
@ -1772,7 +1772,7 @@ void G_DoReborn (int playernum, bool freshbot)
|
||||||
}
|
}
|
||||||
|
|
||||||
// spawn at random spot if in deathmatch
|
// spawn at random spot if in deathmatch
|
||||||
if (deathmatch || isUnfriendly)
|
if ((deathmatch || isUnfriendly) && (level.deathmatchstarts.Size () > 0))
|
||||||
{
|
{
|
||||||
G_DeathMatchSpawnPlayer (playernum);
|
G_DeathMatchSpawnPlayer (playernum);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue