- Implemented Quasar's suggestion to use line flag 2048 as a "reserved" flag

that, if set, clears all the non-original-Doom flags on a line. This is
  only for Doom format maps when playing Doom.

SVN r124 (trunk)
This commit is contained in:
Randy Heit 2006-05-17 02:19:20 +00:00
commit 3f51b80cac
3 changed files with 15 additions and 0 deletions

View file

@ -92,6 +92,13 @@ void P_TranslateLineDef (line_t *ld, maplinedef_t *mld)
}
else
{
if (gameinfo.gametype == GAME_Doom)
{
if (flags & ML_RESERVED_ETERNITY)
{
flags &= 0x1FF;
}
}
passthrough = (flags & ML_PASSUSE_BOOM);
}
flags = flags & 0xFFFF01FF; // Ignore flags unknown to DOOM