From 4722e3efccbfd81280a78aca717f91f99a4c5747 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Nov 2014 20:18:29 +0300 Subject: map: add missing interfaces initialization. --- src/map/init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map') 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); -- cgit v1.2.3-70-g09d2