mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 09:01:24 +00:00
Added $OPTVAL_MBFSTRICT to menudef.txt, and added corresponding case 7 to the compatmode cvar in d_main.cpp
This commit is contained in:
parent
7d4603f4c1
commit
86927074c9
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright 1993-1996 id Software
|
||||
// Copyright 1999-2016 Randy Heit
|
||||
// Copyright 2002-2016 Christoph Oelckers
|
||||
|
@ -620,6 +619,12 @@ CUSTOM_CVAR(Int, compatmode, 0, CVAR_ARCHIVE|CVAR_NOINITCALL)
|
|||
w = COMPATF2_POINTONLINE | COMPATF2_EXPLODE2;
|
||||
break;
|
||||
|
||||
case 7: // Stricter MBF compatibility
|
||||
v = COMPATF_CORPSEGIBS | COMPATF_NOBLOCKFRIENDS | COMPATF_MBFMONSTERMOVE | COMPATF_INVISIBILITY |
|
||||
COMPATF_NOTOSSDROPS | COMPATF_MUSHROOM | COMPATF_NO_PASSMOBJ | COMPATF_BOOMSCROLL | COMPATF_WALLRUN |
|
||||
COMPATF_TRACE | COMPATF_HITSCAN | COMPATF_MISSILECLIP | COMPATF_MASKEDMIDTEX | COMPATF_SOUNDTARGET;
|
||||
w = COMPATF2_POINTONLINE | COMPATF2_EXPLODE1 | COMPATF2_EXPLODE2;
|
||||
break;
|
||||
}
|
||||
compatflags = v;
|
||||
compatflags2 = w;
|
||||
|
|
|
@ -1639,6 +1639,7 @@ OptionValue CompatModes
|
|||
3, "$OPTVAL_BOOM"
|
||||
6, "$OPTVAL_BOOMSTRICT"
|
||||
5, "$OPTVAL_MBF"
|
||||
7, "$OPTVAL_MBFSTRICT"
|
||||
4, "$OPTVAL_ZDOOM2063"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue