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:
Christoph Oelckers 2011-07-07 21:58:03 +00:00
parent 36d6b3dd3b
commit 16d097f2a6
5 changed files with 7 additions and 5 deletions

View file

@ -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;