summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 05:19:01 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 05:19:01 +0000
commit02720aae3af5cc563a8b6dd374b5aebd5a0da074 (patch)
tree59ebbe47fe076464218bbde1a5206768ae1d0601 /src/map
parent893a5922031f91f0599480d2ffbf525b76803165 (diff)
downloadhercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.gz
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.bz2
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.tar.xz
hercules-02720aae3af5cc563a8b6dd374b5aebd5a0da074.zip
A few bug fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@412 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 4addd1a26..0674cd65b 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2159,6 +2159,10 @@ void do_final(void) {
map_foreachinarea(cleanup_sub, map_id, 0, 0, map[map_id].xs, map[map_id].ys, 0, 0);
}
+#ifndef TXT_ONLY
+ chrif_char_reset_offline();
+#endif
+
for (i = 0; i < fd_max; i++)
delete_session(i);
@@ -2181,8 +2185,8 @@ void do_final(void) {
do_final_itemdb();
do_final_storage();
do_final_guild();
+
#ifndef TXT_ONLY
- chrif_char_reset_offline();
map_sql_close();
#endif /* not TXT_ONLY */
}