summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-30 23:27:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-30 23:27:06 +0300
commitce092b3c79d7c624df4632535f65d7a663f6054e (patch)
treea9369f704d4566d073ec78db481bf9838b077437 /src/map/init.c
parent50a97b0ef2a8365d87a8a57047caccb0c050c56b (diff)
downloadevol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.gz
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.bz2
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.xz
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.zip
char: add init default map.
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);
}