diff options
author | Haru <haru@dotalux.com> | 2018-11-14 16:51:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 16:51:15 +0100 |
commit | 3a6892f5c82a71e689450c50da57f6752defcd84 (patch) | |
tree | efb1b7ba094243713ab062f16a0011ee33c4dfcd /src/map/npc.c | |
parent | 1e5df06b8a23ea13c3fc1b07339c261a77600bae (diff) | |
parent | afc68b65ad3a2a05eccd578acc2fe71a5f42655a (diff) | |
download | hercules-3a6892f5c82a71e689450c50da57f6752defcd84.tar.gz hercules-3a6892f5c82a71e689450c50da57f6752defcd84.tar.bz2 hercules-3a6892f5c82a71e689450c50da57f6752defcd84.tar.xz hercules-3a6892f5c82a71e689450c50da57f6752defcd84.zip |
Merge pull request #2247 from Helianthella/pkreload
fix map_zone_remove not actually removing flags
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
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] */ |