- Adapted FraggleScript and dDamageEnd code to use ClearCounters() function.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@982 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2010-09-19 09:17:37 +00:00
parent f6acf2bb19
commit 721da445c3
2 changed files with 4 additions and 12 deletions

View file

@ -4041,8 +4041,7 @@ void P_SetupLevel (char *lumpname, int position)
{
if (mo->Sector->special == dDamage_End)
{
level.total_monsters--;
mo->flags&=~(MF_COUNTKILL);
mo->ClearCounters();
}
}
}