summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-01-29 20:07:39 -0500
committerwushin <pasekei@gmail.com>2016-02-08 18:53:29 -0600
commit8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4 (patch)
treed5c7851d716a1914cff9403bcc1764eb69fd758d /src/map/clif.cpp
parentf593049cd8286f48497782d8bc0afe787724ad5d (diff)
downloadtmwa-8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4.tar.gz
tmwa-8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4.tar.bz2
tmwa-8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4.tar.xz
tmwa-8b0d94a35c472e19cfd68c5ac7ec1dd5932201d4.zip
allow to not allocate stats on CC
do not use sex provided by client for scripts send the correct sex to the client
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r--src/map/clif.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index 64e9939..9743e49 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -659,7 +659,7 @@ void clif_set0078_main_1d8(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1d8.manner = sd->status.manner;
fixed_1d8.opt3 = sd->opt3;
fixed_1d8.karma = sd->status.karma;
- fixed_1d8.sex = sd->sex;
+ fixed_1d8.sex = sd->status.sex;
fixed_1d8.pos.x = sd->bl_x;
fixed_1d8.pos.y = sd->bl_y;
fixed_1d8.pos.dir = sd->dir;
@@ -713,7 +713,7 @@ void clif_set0078_alt_1d9(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1d8.manner = sd->status.manner;
fixed_1d8.opt3 = sd->opt3;
fixed_1d8.karma = sd->status.karma;
- fixed_1d8.sex = sd->sex;
+ fixed_1d8.sex = sd->status.sex;
fixed_1d8.pos.x = sd->bl_x;
fixed_1d8.pos.y = sd->bl_y;
fixed_1d8.pos.dir = sd->dir;
@@ -766,7 +766,7 @@ void clif_set007b(dumb_ptr<map_session_data> sd, Buffer& buf)
fixed_1da.manner = sd->status.manner;
fixed_1da.opt3 = sd->opt3;
fixed_1da.karma = sd->status.karma;
- fixed_1da.sex = sd->sex;
+ fixed_1da.sex = sd->status.sex;
fixed_1da.pos2.x0 = sd->bl_x;
fixed_1da.pos2.y0 = sd->bl_y;
fixed_1da.pos2.x1 = sd->to_x;