summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 18:50:34 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 18:50:34 +0000
commitb8b21edf63e58270e7744548c73e1c5ef64b7950 (patch)
tree9e1f1d5f5047e2bfb112f451a498e03b588e56b2 /src/map/npc.c
parent48f6cbbd88f70c4ef4cb1ce711053009b666164a (diff)
downloadhercules-b8b21edf63e58270e7744548c73e1c5ef64b7950.tar.gz
hercules-b8b21edf63e58270e7744548c73e1c5ef64b7950.tar.bz2
hercules-b8b21edf63e58270e7744548c73e1c5ef64b7950.tar.xz
hercules-b8b21edf63e58270e7744548c73e1c5ef64b7950.zip
* Fixed mapflags not getting initialized upon @reloadscript (bugreport:2247, since r1275).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14548 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 893b3c871..92425f585 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3314,6 +3314,9 @@ int npc_reload(void)
npc_warp = npc_shop = npc_script = 0;
npc_mob = npc_cache_mob = npc_delay_mob = 0;
+ // reset mapflags
+ map_flags_init();
+
//TODO: the following code is copy-pasted from do_init_npc(); clean it up
// Reloading npcs now
for (nsl = npc_src_files; nsl; nsl = nsl->next)