- Added a SECF_NORESPAWN flag for sectors that prevents players from being respawned

in such a sector. As a workaround for current map formats a new actor
  (DoomEdNum 9041) was added that can set the extended sector flags without the
  use of ACS and sector tags. The new flag can also be set with Sector_ChangeFlags.
- Fixed: Players ignored MF2_TELESTOMP and always telefragged what was in the way.
- Fixed: Actors with MF5_NOINTERACTION were not affected by the time freezer.


SVN r1315 (trunk)
This commit is contained in:
Christoph Oelckers 2008-12-14 19:12:41 +00:00
commit bd9e318863
9 changed files with 65 additions and 5 deletions

View file

@ -228,3 +228,19 @@ void ASectorSilencer::Destroy ()
Sector->Flags &= ~SECF_SILENT;
Super::Destroy ();
}
class ASectorFlagSetter : public AActor
{
DECLARE_CLASS (ASectorFlagSetter, AActor)
public:
void BeginPlay ();
};
IMPLEMENT_CLASS (ASectorFlagSetter)
void ASectorFlagSetter::BeginPlay ()
{
Super::BeginPlay ();
Sector->Flags |= args[0];
}