summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2016-01-31 21:27:30 -0600
committerwushin <pasekei@gmail.com>2016-02-08 18:53:35 -0600
commit8f33fc6192655ab7a4453a54616c911b19a8ded3 (patch)
treed4f0db6d9371edf27ea5b2f7c0b7166d5b48fac6 /src/map
parent8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4 (diff)
downloadtmwa-8f33fc6192655ab7a4453a54616c911b19a8ded3.tar.gz
tmwa-8f33fc6192655ab7a4453a54616c911b19a8ded3.tar.bz2
tmwa-8f33fc6192655ab7a4453a54616c911b19a8ded3.tar.xz
tmwa-8f33fc6192655ab7a4453a54616c911b19a8ded3.zip
Don't override char gender
sd->sex is fluid, only trust sd->status.sex to be static
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 59fbba6..389f6b5 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -657,12 +657,6 @@ int pc_authok(AccountId id, int login_id2,
sd->status_key = *st_key;
sd->status = *st_data;
- if (sd->status.sex != sd->sex)
- {
- clif_authfail_fd(sd->sess, 0);
- return 1;
- }
-
MAP_LOG_STATS(sd, "LOGIN"_fmt);
MAP_LOG_XP(sd, "LOGIN"_fmt);
MAP_LOG_MAGIC(sd, "LOGIN"_fmt);