- 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:
parent
34ab6ba862
commit
bd9e318863
9 changed files with 65 additions and 5 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue