summaryrefslogtreecommitdiff
path: root/src/map/chrif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-02-02 23:43:38 +0100
committerHaru <haru@dotalux.com>2015-04-25 19:10:13 +0200
commitcb3652004f979f2efd3ea3ad397e306165ada79b (patch)
tree69b580467d7717b7b224be19c66df9562cff2d0c /src/map/chrif.h
parent81942b7de445204ca2b197817298cc14b78cc00d (diff)
downloadhercules-cb3652004f979f2efd3ea3ad397e306165ada79b.tar.gz
hercules-cb3652004f979f2efd3ea3ad397e306165ada79b.tar.bz2
hercules-cb3652004f979f2efd3ea3ad397e306165ada79b.tar.xz
hercules-cb3652004f979f2efd3ea3ad397e306165ada79b.zip
Fixed @changesex issues on PACKETVERs that don't support per-character sex.
- Fixes bugreport:8504 http://hercules.ws/board/tracker/issue-8504-changesex/ - Existing database entries with an incorrect per-character sex will be fixed automatically when the character logs in to match the account's sex, if the PACKETVER doesn't support per-character sex. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r--src/map/chrif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h
index 271fc076d..c90d00ef5 100644
--- a/src/map/chrif.h
+++ b/src/map/chrif.h
@@ -103,7 +103,7 @@ struct chrif_interface {
bool (*char_reset_offline) (void);
bool (*send_users_tochar) (void);
bool (*char_online) (struct map_session_data *sd);
- bool (*changesex) (struct map_session_data *sd);
+ bool (*changesex) (struct map_session_data *sd, bool change_account);
//int (*chardisconnect) (struct map_session_data *sd); // FIXME: Commented out in clif.c, function does not exist
bool (*divorce) (int partner_id1, int partner_id2);