diff options
author | Simon Howard | 2010-02-08 19:16:27 +0000 |
---|---|---|
committer | Simon Howard | 2010-02-08 19:16:27 +0000 |
commit | 9769464ecf7ae3c92c628deed8164b61f567923a (patch) | |
tree | 40a27a1c765ecfb886c2dd4b959b465757ce4c6c | |
parent | c09b386e1f3cb3518b22c440d6fb7c081ff3aa0b (diff) | |
download | chocolate-doom-9769464ecf7ae3c92c628deed8164b61f567923a.tar.gz chocolate-doom-9769464ecf7ae3c92c628deed8164b61f567923a.tar.bz2 chocolate-doom-9769464ecf7ae3c92c628deed8164b61f567923a.zip |
Call DEH_Init on Heretic startup so that patches will be loaded.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1864
-rw-r--r-- | src/heretic/d_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 10f5fd3e..ddcbca20 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -33,6 +33,7 @@ #include "config.h" #include "ct_chat.h" #include "doomdef.h" +#include "deh_main.h" #include "d_iwad.h" #include "i_endoom.h" #include "i_joystick.h" @@ -890,6 +891,11 @@ void D_DoomMain(void) printf("Z_Init: Init zone memory allocation daemon.\n"); Z_Init(); +#ifdef FEATURE_DEHACKED + printf("DEH_Init: Init Dehacked support.\n"); + DEH_Init(); +#endif + printf("W_Init: Init WADfiles.\n"); iwadfile = D_FindIWAD(IWAD_MASK_HERETIC, &gamemission); |