- Changed PowerFlight so that Hexen's infiniteness is not controlled by being

in a hub but by a level flag instead.
- Fixed: Floor and ceiling huggers must set themselves to floor and ceiling each
  time they move.
- Added a LEVEL_NOMONSTERS flag so that G_ChangeLevel doesn't have to mess with
  the dmflags CVAR to start the level without monsters.


SVN r563 (trunk)
This commit is contained in:
Christoph Oelckers 2007-11-08 09:22:06 +00:00
commit 621fe2ed98
13 changed files with 60 additions and 14 deletions

View file

@ -3856,7 +3856,7 @@ void P_SpawnMapThing (mapthing2_t *mthing, int position)
}
// don't spawn any monsters if -nomonsters
if (dmflags & DF_NO_MONSTERS && info->flags3 & MF3_ISMONSTER )
if (((level.flags & LEVEL_NOMONSTERS) || (dmflags & DF_NO_MONSTERS)) && info->flags3 & MF3_ISMONSTER )
{
return;
}