From b7afcb67f381f5087f2cf1e388b7acf79fa95a03 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Nov 2015 15:45:19 +0300 Subject: Fix typo. --- src/echar/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/echar') 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); -- cgit v1.2.3-70-g09d2