diff options
author | Haru <haru@dotalux.com> | 2016-12-03 06:29:06 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-09-17 17:48:16 +0200 |
commit | 2b5309e5e393cf3f5fb7678c7e7690aec0511f21 (patch) | |
tree | 89b842b453219dc39171ac0d3f6c1e6f73294dda /src/map/status.c | |
parent | 20caa41aeae6e49375aeb187c06dc077e330b414 (diff) | |
download | hercules-2b5309e5e393cf3f5fb7678c7e7690aec0511f21.tar.gz hercules-2b5309e5e393cf3f5fb7678c7e7690aec0511f21.tar.bz2 hercules-2b5309e5e393cf3f5fb7678c7e7690aec0511f21.tar.xz hercules-2b5309e5e393cf3f5fb7678c7e7690aec0511f21.zip |
Move other view-related variables to `sd->status.look`
The following variables are now moved to `sd->status.look` (from
`sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe`
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c index 733eb5f6f..e04769e3f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6864,13 +6864,13 @@ void status_set_viewdata(struct block_list *bl, int class_) } sd->vd.class = class_; clif->get_weapon_view(sd, &sd->vd.weapon, &sd->vd.shield); - sd->vd.head_top = sd->status.head_top; - sd->vd.head_mid = sd->status.head_mid; - sd->vd.head_bottom = sd->status.head_bottom; + sd->vd.head_top = sd->status.look.head_top; + sd->vd.head_mid = sd->status.look.head_mid; + sd->vd.head_bottom = sd->status.look.head_bottom; 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.robe = sd->status.look.robe; sd->vd.body_style = sd->status.body; sd->vd.sex = sd->status.sex; |