summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index fb10c6db7..dbc8324f6 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/04/13
+ * Followup to r12579 (all other players appeared as female on sql branch). [FlavioJS]
* Some major updates to the quest system, beginning to move it
over to the inter server instead of char server. (r12581) [Kevin]
* Added an include in clif.h to avoid a complaint of gcc [Toms]
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);