summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-15 15:08:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-15 15:08:29 +0300
commit077e5304cbeed1a0a19151bd454c90269827f0a4 (patch)
tree3151a426d07149bc5e7a3ea8db53bce35d883e5a /src/echar
parent49f8efc63324fdb1db8fd7110508988370ddfe01 (diff)
downloadplugin-077e5304cbeed1a0a19151bd454c90269827f0a4.tar.gz
plugin-077e5304cbeed1a0a19151bd454c90269827f0a4.tar.bz2
plugin-077e5304cbeed1a0a19151bd454c90269827f0a4.tar.xz
plugin-077e5304cbeed1a0a19151bd454c90269827f0a4.zip
Add support for other char gender.
Increase plugin version to 10.
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index a9571dc..875e6cf 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -42,7 +42,7 @@ void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data* sd)
return;
}
sex = RFIFOB(fd, 33);
- if (sex > 1 && sex != 99)
+ if (sex != 9 && sex != 1 && sex != 3 && sex != 99)
{
chr->creation_failed(fd, -11);
RFIFOSKIP(fd, 31 + 5);