diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-26 00:53:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-26 00:53:54 +0300 |
commit | 839de7efcd83c8e042acb16de658afb078ac2ec7 (patch) | |
tree | 91deb733aae632b756f7b4478818669aa7650042 | |
parent | 40f0847e0faff7526c4290b83b50f9237c1e1438 (diff) | |
download | plugin-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.gz plugin-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.bz2 plugin-839de7efcd83c8e042acb16de658afb078ac2ec7.tar.xz plugin-839de7efcd83c8e042acb16de658afb078ac2ec7.zip |
map: set default map.
-rw-r--r-- | src/map/init.c | 4 |
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); } |