diff options
author | Simon Howard | 2008-09-24 18:10:32 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-24 18:10:32 +0000 |
commit | 749e078e9f67af467e563c77688b6fccf352b001 (patch) | |
tree | 28f394ac227ffd2af7d7298f55884e7a05d52d54 | |
parent | 617e75e9a4c79a21b68385fe69066ab3cab353ae (diff) | |
download | chocolate-doom-749e078e9f67af467e563c77688b6fccf352b001.tar.gz chocolate-doom-749e078e9f67af467e563c77688b6fccf352b001.tar.bz2 chocolate-doom-749e078e9f67af467e563c77688b6fccf352b001.zip |
Remove W_InitMultipleFiles call, replace with W_AddFile calls.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1268
-rw-r--r-- | src/heretic/d_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 |