diff --git a/Source/m_misc.c b/Source/m_misc.c index 9b46a7c5..9d43a8df 100644 --- a/Source/m_misc.c +++ b/Source/m_misc.c @@ -2023,6 +2023,12 @@ void M_LoadOptions(void) { int lump; + // [FG] avoid loading OPTIONS lumps embedded into WAD files + if (M_CheckParm("-nooptions")) + { + return; + } + if ((lump = W_CheckNumForName("OPTIONS")) != -1) { int size = W_LumpLength(lump), buflen = 0;