- 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:
parent
8f5dd5d028
commit
621fe2ed98
13 changed files with 60 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue