summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
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) )