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

@ -1101,7 +1101,7 @@ void A_SpawnItem(AActor * self)
if (!P_TestMobjLocation(mo))
{
// The monster is blocked so don't spawn it at all!
if (mo->flags&MF_COUNTKILL) level.total_monsters--;
if (mo->CountsAsKill()) level.total_monsters--;
mo->Destroy();
StateCall.Result=false; // for an inventory iten's use state
return;