diff options
Diffstat (limited to 'src/heretic/d_main.c')
-rw-r--r-- | src/heretic/d_main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index b8edd430..bba09e65 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -455,12 +455,6 @@ void D_CheckRecordFrom(void) #define SHAREWAREWADNAME "heretic1.wad" -static iwad_t iwads[] = { - { "heretic.wad", heretic }, - { "heretic1.wad", heretic }, - { NULL, none }, -}; - char *iwadfile; char *basedefault = "heretic.cfg"; @@ -880,7 +874,7 @@ void D_DoomMain(void) printf("W_Init: Init WADfiles.\n"); - iwadfile = D_FindIWAD(iwads, &gamemission); + iwadfile = D_FindIWAD(IWAD_MASK_HERETIC, &gamemission); if (iwadfile == NULL) { |