summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-04 17:36:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-04 17:36:48 +0300
commit8fe364817c3e670f1d36d9fa09a8be5a2668a150 (patch)
tree4bfd0cc83ad7e8551d85c75eecfe4bebce59a6ad /src/echar
parent6b14df3a15ecced9b792c1e3a65803ee8d93735c (diff)
downloadevol-hercules-8fe364817c3e670f1d36d9fa09a8be5a2668a150.tar.gz
evol-hercules-8fe364817c3e670f1d36d9fa09a8be5a2668a150.tar.bz2
evol-hercules-8fe364817c3e670f1d36d9fa09a8be5a2668a150.tar.xz
evol-hercules-8fe364817c3e670f1d36d9fa09a8be5a2668a150.zip
Update for latest hercules changes.
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 91d7356..6d16e56 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -64,7 +64,8 @@ void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data **sdP
}
}
- const int result = chr->make_new_char_sql(sd, RFIFOP(fd, 2), 1, 1, 1, 1, 1, 1, RFIFOB(fd, 26), RFIFOW(fd, 27), RFIFOW(fd, 29), JOB_NOVICE);
+ // +++ need remove addition sql query after this line for set sex
+ const int result = chr->make_new_char_sql(sd, RFIFOP(fd, 2), 1, 1, 1, 1, 1, 1, RFIFOB(fd, 26), RFIFOW(fd, 27), RFIFOW(fd, 29), JOB_NOVICE, 'U');
if (result < 0)
{
chr->creation_failed(fd, result);