summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-26 00:53:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-26 00:53:54 +0300
commit839de7efcd83c8e042acb16de658afb078ac2ec7 (patch)
tree91deb733aae632b756f7b4478818669aa7650042 /src/map/init.c
parent40f0847e0faff7526c4290b83b50f9237c1e1438 (diff)
downloadevol-hercules-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.gz
evol-hercules-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.bz2
evol-hercules-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.xz
evol-hercules-839de7efcd83c8e042acb16de658afb078ac2ec7.zip
map: set default map.
Diffstat (limited to 'src/map/init.c')
-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 6732065..241e1b2 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -144,6 +144,10 @@ 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;
+
addHookPre("quest->read_db", equest_read_db);
}