summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 20:26:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 20:26:02 +0000
commitf5a887e525a764f1cc9817311b6eabf168e04701 (patch)
treeed24df733921ae5e22aa4a730e95b4c8585ea5c7 /src/char_sql/char.c
parent1e6705cfd482e09eecb66090166f9e4a51ac4ea9 (diff)
downloadhercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.gz
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.bz2
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.xz
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.zip
Basic cleanup of the SQL charserver homunculus code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12863 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index a7fdd2082..50a1a7ba9 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1401,7 +1401,7 @@ int delete_char_sql(int char_id)
/* remove homunculus */
if (hom_id)
- inter_delete_homunculus(hom_id);
+ mapif_homunculus_delete(hom_id);
/* delete char's friends list */
if( SQL_ERROR == Sql_Query(sql_handle, "DELETE FROM `%s` WHERE `char_id` = '%d'", friend_db, char_id) )