mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 03:00:47 +00:00
- 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:
parent
f6acf2bb19
commit
721da445c3
2 changed files with 4 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue