Skip to content

Commit

Permalink
Remove more D4V code
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Feb 25, 2025
1 parent 5b52b9a commit 4e7a48d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1994,24 +1994,6 @@ static void D_ProcessDehInWad(void)
if (*dehwarning)
C_Warning(1, dehwarning);

if (doom4vanilla)
{
if (process)
for (int i = 0; i < numlumps; i++)
if (M_StringCompare(lumpinfo[i]->name, "DEHACKED")
&& !M_StringEndsWith(lumpinfo[i]->wadfile->path, DOOMRETRO_RESOURCEWAD)
&& !M_StringEndsWith(lumpinfo[i]->wadfile->path, "D4V.WAD"))
D_ProcessDehFile(NULL, i, false);

for (int i = 0; i < numlumps; i++)
if (M_StringCompare(lumpinfo[i]->name, "DEHACKED")
&& M_StringEndsWith(lumpinfo[i]->wadfile->path, "D4V.WAD"))
{
D_ProcessDehFile(NULL, i, false);
break;
}
}

if (chex1)
D_ProcessDehFile(NULL, W_GetNumForName("CHEXBEX"), true);

Expand Down

0 comments on commit 4e7a48d

Please sign in to comment.