- 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

@ -1613,6 +1613,15 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y,
}
}
if (thing->flags3 & MF3_FLOORHUGGER)
{
thing->z = tmfloorz;
}
else if (thing->flags3 & MF3_CEILINGHUGGER)
{
thing->z = tmceilingz - thing->height;
}
if (onfloor && tmfloorsector == thing->floorsector)
{
thing->z = tmfloorz;