- Force node building for garrison.wad from The Master Levels so that the teleporter to the

red key won't leave you in the ground.

SVN r4071 (trunk)
This commit is contained in:
Randy Heit 2013-02-07 21:32:06 +00:00
parent 6e3d784c50
commit afabf7e018
4 changed files with 11 additions and 0 deletions

View file

@ -102,6 +102,7 @@ static FCompatOption Options[] =
{ "resetplayerspeed", BCOMPATF_RESETPLAYERSPEED, SLOT_BCOMPAT },
{ "vileghosts", BCOMPATF_VILEGHOSTS, SLOT_BCOMPAT },
{ "ignoreteleporttags", BCOMPATF_BADTELEPORTERS, SLOT_BCOMPAT },
{ "rebuildnodes", BCOMPATF_REBUILDNODES, SLOT_BCOMPAT },
// list copied from g_mapinfo.cpp
{ "shorttex", COMPATF_SHORTTEX, SLOT_COMPAT },

View file

@ -348,6 +348,7 @@ enum
BCOMPATF_VILEGHOSTS = 1 << 2, // Monsters' radius and height aren't restored properly when resurrected.
BCOMPATF_BADTELEPORTERS = 1 << 3, // Ignore tags on Teleport specials
BCOMPATF_BADPORTALS = 1 << 4, // Restores the old unstable portal behavior
BCOMPATF_REBUILDNODES = 1 << 5, // Force node rebuild
};
// phares 3/20/98:

View file

@ -3607,6 +3607,10 @@ void P_SetupLevel (char *lumpname, int position)
level.maptype = MAPTYPE_UDMF;
}
CheckCompatibility(map);
if (ib_compatflags & BCOMPATF_REBUILDNODES)
{
ForceNodeBuild = true;
}
T_LoadScripts(map);
if (!map->HasBehavior || map->isText)

View file

@ -330,3 +330,8 @@ F481922F4881F74760F3C0437FD5EDD0 // map03
setwallyscale 716 front bot 1.090909
setwallyscale 717 front bot 1.090909
}
65A1EB4C87386F290816660A52932FF1 // Master Levels, garrison.wad
{
rebuildnodes
}