diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-24 17:15:23 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-24 17:15:23 +0000 |
commit | 23658c125f6c9e44b2015043d8dd913c687b9df6 (patch) | |
tree | 9747bd392a144f5e935293116ac87682e3b18105 /src/map/map.c | |
parent | 67b396bd39ce915cd2f93029080aff0cab9aec85 (diff) | |
download | hercules-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/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 7488a5a15..7f8a72cd2 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3371,7 +3371,7 @@ void do_final(void) mapit_free(iter); for( i = 0; i < MAX_INSTANCE; i++ ) - if( instance[i].state != INSTANCE_FREE ) instance_destroy(i); + instance_destroy(i); id_db->foreach(id_db,cleanup_db_sub); chrif_char_reset_offline(); |