summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-24 17:15:23 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-24 17:15:23 +0000
commit23658c125f6c9e44b2015043d8dd913c687b9df6 (patch)
tree9747bd392a144f5e935293116ac87682e3b18105 /src/map/npc.c
parent67b396bd39ce915cd2f93029080aff0cab9aec85 (diff)
downloadhercules-23658c125f6c9e44b2015043d8dd913c687b9df6.tar.gz
hercules-23658c125f6c9e44b2015043d8dd913c687b9df6.tar.bz2
hercules-23658c125f6c9e44b2015043d8dd913c687b9df6.tar.xz
hercules-23658c125f6c9e44b2015043d8dd913c687b9df6.zip
Fixed instances not initializing after reloadscript (bugreport:3522).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14167 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 2a92a0e1b..6a3af6d40 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -3347,7 +3347,7 @@ int npc_reload(void)
npc_id - npc_new_min, npc_warp, npc_shop, npc_script, npc_mob, npc_cache_mob, npc_delay_mob);
for( i = 0; i < ARRAYLENGTH(instance); ++i )
- if( instance[i].instance_id ) instance_init(instance[i].instance_id);
+ instance_init(instance[i].instance_id);
//Re-read the NPC Script Events cache.
npc_read_event_script();