summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/init.c b/src/char/init.c
index 3dabdae..64f6a29 100644
--- a/src/char/init.c
+++ b/src/char/init.c
@@ -7,6 +7,7 @@
#include "../../../common/HPMi.h"
#include "../../../common/malloc.h"
+#include "../../../common/mapindex.h"
#include "../../../common/mmo.h"
#include "../../../common/socket.h"
#include "../../../common/strlib.h"
@@ -64,6 +65,7 @@ HPExport void plugin_init (void)
HPExport void server_preinit (void)
{
interfaces_init_common();
+ mapindex = GET_SYMBOL("mapindex");
setDefaultMap();