summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-24 15:51:33 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-24 15:51:33 +0000
commit81601053b3df92c13a9bc0bd679b49369b2cf788 (patch)
tree102930f123aa52abf9d46ec20056746cca2d0411 /src/char_sql
parent6612269d2706ca08d9b174f292671a024724e6a3 (diff)
downloadhercules-81601053b3df92c13a9bc0bd679b49369b2cf788.tar.gz
hercules-81601053b3df92c13a9bc0bd679b49369b2cf788.tar.bz2
hercules-81601053b3df92c13a9bc0bd679b49369b2cf788.tar.xz
hercules-81601053b3df92c13a9bc0bd679b49369b2cf788.zip
- Ops!! this is mine (homunculus hungry messages).
- Fixed a bug on char delete. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13123 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-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 9008ac838..67a7419f2 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1363,7 +1363,7 @@ int delete_char_sql(int char_id)
mapif_homunculus_delete(hom_id);
/* remove mercenary */
if( mer_id )
- mapif_mercenary_delete(hom_id);
+ mapif_mercenary_delete(mer_id);
/* delete char's friends list */
if( SQL_ERROR == Sql_Query(sql_handle, "DELETE FROM `%s` WHERE `char_id` = '%d'", friend_db, char_id) )