summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/init.c b/src/map/init.c
index c8f2ad3..b6142ca 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -33,7 +33,7 @@
#include "../../../map/trade.h"
#include "../../../map/quest.h"
-#include "common/interfaces.h"
+#include "common/init.h"
#include "map/clif.h"
#include "map/lang.h"
#include "map/npc.h"
@@ -170,9 +170,7 @@ HPExport void server_preinit (void)
mapit = GET_SYMBOL("mapit");
mapindex = GET_SYMBOL("mapindex");
- mapindex->default_map = "000-1";
- mapindex->default_x = 80;
- mapindex->default_y = 109;
+ setDefaultMap();
addHookPre("quest->read_db", equest_read_db);
}