mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
add a -nodehlump parameter to avoid loading DEHACKED lumps embedded into WAD files
This commit is contained in:
parent
2a91c5f6bc
commit
0513ad2b77
@ -1352,6 +1352,12 @@ static void D_ProcessDehPreincludes(void)
|
|||||||
|
|
||||||
static void D_ProcessDehInWad(int i)
|
static void D_ProcessDehInWad(int i)
|
||||||
{
|
{
|
||||||
|
// [FG] avoid loading DEHACKED lumps embedded into WAD files
|
||||||
|
if (M_CheckParm("-nodehlump"))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (i >= 0)
|
if (i >= 0)
|
||||||
{
|
{
|
||||||
D_ProcessDehInWad(lumpinfo[i].next);
|
D_ProcessDehInWad(lumpinfo[i].next);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user