summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-16 20:18:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-16 20:18:29 +0300
commit4722e3efccbfd81280a78aca717f91f99a4c5747 (patch)
treedf93e90ee264c585e7b54a2b987bf077482732d9
parentc269e2bb15cfc91fa4e66077f769841fb86ca6ed (diff)
downloadevol-hercules-4722e3efccbfd81280a78aca717f91f99a4c5747.tar.gz
evol-hercules-4722e3efccbfd81280a78aca717f91f99a4c5747.tar.bz2
evol-hercules-4722e3efccbfd81280a78aca717f91f99a4c5747.tar.xz
evol-hercules-4722e3efccbfd81280a78aca717f91f99a4c5747.zip
map: add missing interfaces initialization.
-rw-r--r--src/map/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index f9635b0..e025d13 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -11,6 +11,8 @@
#include "../../../common/socket.h"
#include "../../../common/strlib.h"
#include "../../../map/clif.h"
+#include "../../../map/itemdb.h"
+#include "../../../map/npc.h"
#include "../../../map/pc.h"
#include "../../../map/script.h"
@@ -38,9 +40,11 @@ HPExport void plugin_init (void)
script = GET_SYMBOL("script");
clif = GET_SYMBOL("clif");
pc = GET_SYMBOL("pc");
+ npc = GET_SYMBOL("npc");
strlib = GET_SYMBOL("strlib");
session = GET_SYMBOL("session");
sockt = GET_SYMBOL("sockt");
+ itemdb = GET_SYMBOL("itemdb");
addScriptCommand("setcamnpc", "*", setCamNpc);
addScriptCommand("restorecam", "", restoreCam);