summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-01 10:46:03 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-01 10:46:03 +0000
commitefeb89f34eccad6613e97c711fd5ef561ed0e4e3 (patch)
treeb08adc5accd4b7b9ed1871c4582d0707ac74798a /src/map/map.c
parentdaf78c92543e34b9a2db242fab207f4ea0c0f7d1 (diff)
downloadhercules-efeb89f34eccad6613e97c711fd5ef561ed0e4e3.tar.gz
hercules-efeb89f34eccad6613e97c711fd5ef561ed0e4e3.tar.bz2
hercules-efeb89f34eccad6613e97c711fd5ef561ed0e4e3.tar.xz
hercules-efeb89f34eccad6613e97c711fd5ef561ed0e4e3.zip
* Added Karma and Manner to const.txt
* Delete players' ID from id_db when kicking everyone from the map-server due to char disconnection -- Fixes an odd crash with lazy mob AI git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1017 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 50f44c327..c214f16a2 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1094,6 +1094,7 @@ int map_quit(struct map_session_data *sd) {
}
strdb_erase(nick_db,sd->status.name);
numdb_erase(charid_db,sd->status.char_id);
+ numdb_erase(id_db,sd->bl.id);
free(sd->reg);
free(sd->regstr);