summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-10-02 17:38:22 -0400
committergumi <git@gumi.ca>2018-11-13 12:58:39 -0500
commitc964aa4b43de4e534e1ea421841ee090cc71e6e8 (patch)
treef36b5ca2b0a9ed4e6d78add3f49c10ddbe1a8582 /src/map/npc.c
parent1e5df06b8a23ea13c3fc1b07339c261a77600bae (diff)
downloadhercules-c964aa4b43de4e534e1ea421841ee090cc71e6e8.tar.gz
hercules-c964aa4b43de4e534e1ea421841ee090cc71e6e8.tar.bz2
hercules-c964aa4b43de4e534e1ea421841ee090cc71e6e8.tar.xz
hercules-c964aa4b43de4e534e1ea421841ee090cc71e6e8.zip
use a dedicated zone remove function when reloading zones
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a8bf7d371..7f57a9c50 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -4971,6 +4971,7 @@ static int npc_reload(void)
npc->npc_mob = npc->npc_cache_mob = npc->npc_delay_mob = 0;
// reset mapflags
+ map->zone_reload();
map->flags_init();
// Reprocess npc files and reload constants
@@ -4980,7 +4981,6 @@ static int npc_reload(void)
instance->reload();
- map->zone_reload();
map->zone_init();
npc->motd = npc->name2id("HerculesMOTD"); /* [Ind/Hercules] */