SVN r49 (trunk)

This commit is contained in:
Christoph Oelckers 2006-04-16 13:29:50 +00:00
commit da51ac7446
37 changed files with 212 additions and 94 deletions

View file

@ -93,7 +93,7 @@ bool P_Thing_Spawn (int tid, int type, angle_t angle, bool fog, int newtid)
{
// If this is a monster, subtract it from the total monster
// count, because it already added to it during spawning.
if (mobj->flags & MF_COUNTKILL)
if (mobj->CountsAsKill())
{
level.total_monsters--;
}
@ -337,7 +337,7 @@ nolead:
{
// If this is a monster, subtract it from the total monster
// count, because it already added to it during spawning.
if (mobj->flags & MF_COUNTKILL)
if (mobj->CountsAsKill())
{
level.total_monsters--;
}