mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +00:00
- check for deathmatch starts before forcing an unfriendly player to use them.
This commit is contained in:
parent
ff897997d6
commit
420602e154
1 changed files with 9 additions and 6 deletions
|
@ -4138,6 +4138,8 @@ void P_SetupLevel (const char *lumpname, int position)
|
|||
|
||||
// [SP] move unfriendly players around
|
||||
// horribly hacky - yes, this needs rewritten.
|
||||
if (level.deathmatchstarts.Size () > 0)
|
||||
{
|
||||
for (i = 0; i < MAXPLAYERS; ++i)
|
||||
{
|
||||
if (playeringame[i] && players[i].mo != NULL)
|
||||
|
@ -4150,6 +4152,7 @@ void P_SetupLevel (const char *lumpname, int position)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Don't count monsters in end-of-level sectors if option is on
|
||||
|
|
Loading…
Reference in a new issue