diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-02 23:47:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 40fa73e07e4afd1aea967be86aed0407e7e85de5 (patch) | |
tree | 4138aa06b37f47efeee9f7aef8781bca28a2840b /src/char/char.c | |
parent | ec163f471d04ecf1566a53a0109073afde837407 (diff) | |
download | hercules-40fa73e07e4afd1aea967be86aed0407e7e85de5.tar.gz hercules-40fa73e07e4afd1aea967be86aed0407e7e85de5.tar.bz2 hercules-40fa73e07e4afd1aea967be86aed0407e7e85de5.tar.xz hercules-40fa73e07e4afd1aea967be86aed0407e7e85de5.zip |
Add prefix inter_mercenary_ to most functions in int_mercenary.c
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c index ff284d45b..4aa7b1c6a 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -552,7 +552,7 @@ int char_mmo_char_tosql(int char_id, struct mmo_charstatus* p) (p->spear_calls != cp->spear_calls) || (p->spear_faith != cp->spear_faith) || (p->sword_calls != cp->sword_calls) || (p->sword_faith != cp->sword_faith) ) { - if (mercenary_owner_tosql(char_id, p)) + if (inter_mercenary_owner_tosql(char_id, p)) strcat(save_status, " mercenary"); else errors++; @@ -1405,7 +1405,7 @@ int char_mmo_char_fromsql(int char_id, struct mmo_charstatus* p, bool load_every #endif /* Mercenary Owner DataBase */ - mercenary_owner_fromsql(char_id, p); + inter_mercenary_owner_fromsql(char_id, p); strcat(t_msg, " mercenary"); /* default */ @@ -1835,7 +1835,7 @@ int char_delete_char_sql(int char_id) mapif_elemental_delete(elemental_id); /* remove mercenary data */ - mercenary_owner_delete(char_id); + inter_mercenary_owner_delete(char_id); /* delete char's friends list */ if( SQL_ERROR == SQL->Query(sql_handle, "DELETE FROM `%s` WHERE `char_id` = '%d'", friend_db, char_id) ) |