diff options
author | shennetsind <ind@henn.et> | 2013-01-28 16:53:27 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-01-28 16:53:27 -0200 |
commit | e9d07bde3a8c742793ef466cf98322c58f86cfc5 (patch) | |
tree | 7570a3dd39a74f0e7a8047b3cda76c57fc6654b3 /src/map/status.c | |
parent | 5bc48c6e9eb26ed30016ec2c4911a84837fd73fc (diff) | |
download | hercules-e9d07bde3a8c742793ef466cf98322c58f86cfc5.tar.gz hercules-e9d07bde3a8c742793ef466cf98322c58f86cfc5.tar.bz2 hercules-e9d07bde3a8c742793ef466cf98322c58f86cfc5.tar.xz hercules-e9d07bde3a8c742793ef466cf98322c58f86cfc5.zip |
Fixed Bug #7018
Fixed bug with garments not displaying properly.
http://hercules.ws/board/tracker/issue-7018-visible-robegarment-item-disappears-after-relogging-and-moving/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 8a173f611..e615d5595 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6060,6 +6060,7 @@ void status_set_viewdata(struct block_list *bl, int class_) sd->vd.hair_style = cap_value(sd->status.hair,0,battle_config.max_hair_style); sd->vd.hair_color = cap_value(sd->status.hair_color,0,battle_config.max_hair_color); sd->vd.cloth_color = cap_value(sd->status.clothes_color,0,battle_config.max_cloth_color); + sd->vd.robe = sd->status.robe; sd->vd.sex = sd->status.sex; } else if (vd) memcpy(&sd->vd, vd, sizeof(struct view_data)); |