summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-15 15:45:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-15 15:45:19 +0300
commitb7afcb67f381f5087f2cf1e388b7acf79fa95a03 (patch)
tree82d0cb8153e62c6af2201bd380341fbc2763bf2e /src/echar
parent077e5304cbeed1a0a19151bd454c90269827f0a4 (diff)
downloadplugin-b7afcb67f381f5087f2cf1e388b7acf79fa95a03.tar.gz
plugin-b7afcb67f381f5087f2cf1e388b7acf79fa95a03.tar.bz2
plugin-b7afcb67f381f5087f2cf1e388b7acf79fa95a03.tar.xz
plugin-b7afcb67f381f5087f2cf1e388b7acf79fa95a03.zip
Fix typo.
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 875e6cf..a73b826 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 != 9 && sex != 1 && sex != 3 && sex != 99)
+ if (sex != 0 && sex != 1 && sex != 3 && sex != 99)
{
chr->creation_failed(fd, -11);
RFIFOSKIP(fd, 31 + 5);