mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 03:00:47 +00:00
Update to ZDoom r 3267:
- added dmflag for not counting monsters in 'end level' sectors. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1228 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
36d6b3dd3b
commit
16d097f2a6
5 changed files with 7 additions and 5 deletions
|
@ -3928,9 +3928,8 @@ void P_SetupLevel (char *lumpname, int position)
|
|||
}
|
||||
}
|
||||
|
||||
// Don't count monsters in end-of-level sectors
|
||||
// In 99.9% of all occurences they are part of a trap
|
||||
// and not supposed to be killed.
|
||||
// Don't count monsters in end-of-level sectors if option is on
|
||||
if (dmflags2 & DF2_NOCOUNTENDMONST)
|
||||
{
|
||||
TThinkerIterator<AActor> it;
|
||||
AActor * mo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue