mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 14:33:46 -04:00
add a -nooptions parameter to avoid loading OPTIONS lumps embedded into WAD files
This commit is contained in:
parent
f2e4320419
commit
4b75b904d0
@ -2023,6 +2023,12 @@ void M_LoadOptions(void)
|
|||||||
{
|
{
|
||||||
int lump;
|
int lump;
|
||||||
|
|
||||||
|
// [FG] avoid loading OPTIONS lumps embedded into WAD files
|
||||||
|
if (M_CheckParm("-nooptions"))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ((lump = W_CheckNumForName("OPTIONS")) != -1)
|
if ((lump = W_CheckNumForName("OPTIONS")) != -1)
|
||||||
{
|
{
|
||||||
int size = W_LumpLength(lump), buflen = 0;
|
int size = W_LumpLength(lump), buflen = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user