ref: 9769464ecf7ae3c92c628deed8164b61f567923a
parent: c09b386e1f3cb3518b22c440d6fb7c081ff3aa0b
author: Simon Howard <fraggle@gmail.com>
date: Mon Feb 8 14:16:27 EST 2010
Call DEH_Init on Heretic startup so that patches will be loaded. Subversion-branch: /branches/raven-branch Subversion-revision: 1864
--- 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"
@@ -889,6 +890,11 @@
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");