From 749e078e9f67af467e563c77688b6fccf352b001 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 24 Sep 2008 18:10:32 +0000 Subject: Remove W_InitMultipleFiles call, replace with W_AddFile calls. Subversion-branch: /branches/raven-branch Subversion-revision: 1268 --- src/heretic/d_main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/heretic') diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 6797ace1..9027cb51 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -743,6 +743,7 @@ void D_BindVariables(void) void D_DoomMain(void) { + int i; int p; int e; int m; @@ -871,7 +872,11 @@ void D_DoomMain(void) Z_Init(); printf("W_Init: Init WADfiles.\n"); - W_InitMultipleFiles(wadfiles); + + for (i=0; wadfiles[i] != NULL; ++i) + { + W_AddFile(wadfiles[i]); + } if (W_CheckNumForName("E2M1") == -1) { // Can't find episode 2 maps, must be the shareware WAD -- cgit v1.2.3