summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
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/atcommand.c
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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 560848c5b..b9b4704bc 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6431,7 +6431,7 @@ ACMD(changesex)
// to avoid any problem with equipment and invalid sex, equipment is unequipped.
for( i=0; i<EQI_MAX; i++ )
if( sd->equip_index[i] >= 0 ) pc->unequipitem(sd, sd->equip_index[i], 3);
- chrif->changesex(sd);
+ chrif->changesex(sd, true);
return true;
}