mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- mask out Strife mapthing flags when starting an original Hexen map.
This commit is contained in:
parent
3c1fa3bed9
commit
7d90c65427
1 changed files with 5 additions and 0 deletions
|
@ -1833,6 +1833,11 @@ void P_LoadThings2 (MapData * map)
|
||||||
mti[i].SkillFilter = MakeSkill(mti[i].flags);
|
mti[i].SkillFilter = MakeSkill(mti[i].flags);
|
||||||
mti[i].ClassFilter = (mti[i].flags & MTF_CLASS_MASK) >> MTF_CLASS_SHIFT;
|
mti[i].ClassFilter = (mti[i].flags & MTF_CLASS_MASK) >> MTF_CLASS_SHIFT;
|
||||||
mti[i].flags &= ~(MTF_SKILLMASK|MTF_CLASS_MASK);
|
mti[i].flags &= ~(MTF_SKILLMASK|MTF_CLASS_MASK);
|
||||||
|
if (level.flags2 & LEVEL2_HEXENHACK)
|
||||||
|
{
|
||||||
|
mti[i].flags &= 0x7ff; // mask out Strife flags if playing an original Hexen map.
|
||||||
|
}
|
||||||
|
|
||||||
mti[i].gravity = FRACUNIT;
|
mti[i].gravity = FRACUNIT;
|
||||||
mti[i].RenderStyle = STYLE_Count;
|
mti[i].RenderStyle = STYLE_Count;
|
||||||
mti[i].alpha = -1;
|
mti[i].alpha = -1;
|
||||||
|
|
Loading…
Reference in a new issue