summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b35e46c9f..9a1a87bee 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3156,6 +3156,8 @@ int parse_frommap(int fd)
node->sex == sex &&
node->ip == ip )
{// auth ok
+ cd->sex = sex;
+
WFIFOHEAD(fd,20 + sizeof(struct mmo_charstatus));
WFIFOW(fd,0) = 0x2afd;
WFIFOW(fd,2) = 20 + sizeof(struct mmo_charstatus);
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 2eca9b929..8a7a2ebd9 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2833,6 +2833,8 @@ int parse_frommap(int fd)
node->sex == sex &&
node->ip == ip )
{// auth ok
+ cd->sex = sex;
+
WFIFOHEAD(fd,20 + sizeof(struct mmo_charstatus));
WFIFOW(fd,0) = 0x2afd;
WFIFOW(fd,2) = 20 + sizeof(struct mmo_charstatus);