- added a 'no MBF21' compatibility flag.
Turns out that there's a few old maps that have the extended line flags set but not the guard bit that forces their clearance. Astrostein 1's first map is an example for this.
This commit is contained in:
parent
396bac5e4f
commit
c48de5d8d3
10 changed files with 263 additions and 249 deletions
|
|
@ -484,11 +484,12 @@ void MapLoader::InitSectorSpecial(sector_t *sector, int special)
|
|||
{
|
||||
sector->Flags |= SECF_PUSH;
|
||||
}
|
||||
if (sector->special & KILL_MONSTERS_MASK)
|
||||
// Nom MBF21 compatibility needs to be checked here, because after this point there is no longer any context in which it can be done.
|
||||
if ((sector->special & KILL_MONSTERS_MASK) && Level->MBF21Enabled())
|
||||
{
|
||||
sector->Flags |= SECF_KILLMONSTERS;
|
||||
}
|
||||
if (!(sector->special & DEATH_MASK))
|
||||
if (!(sector->special & DEATH_MASK) || !Level->MBF21Enabled())
|
||||
{
|
||||
if ((sector->special & DAMAGE_MASK) == 0x100)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue