summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 01:11:21 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-14 01:11:21 +0000
commit9fccafd43e1c30947f3d3748b30ecc292ec3bbe9 (patch)
treee6d670bbd64d18f48d20c80f29d5883ac3ff605f /src
parentc3d84f14f12357f80e9fd524238d1cf43d1f6327 (diff)
downloadhercules-9fccafd43e1c30947f3d3748b30ecc292ec3bbe9.tar.gz
hercules-9fccafd43e1c30947f3d3748b30ecc292ec3bbe9.tar.bz2
hercules-9fccafd43e1c30947f3d3748b30ecc292ec3bbe9.tar.xz
hercules-9fccafd43e1c30947f3d3748b30ecc292ec3bbe9.zip
* Followup to r12579 (all other players appeared as female on sql branch).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12583 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);