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/script.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/script.c')
-rw-r--r-- | src/map/script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c index 09f6377ef..5ce581db6 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -15520,14 +15520,14 @@ BUILDIN(getlook) switch(type) { case LOOK_HAIR: val = sd->status.hair; break; //1 case LOOK_WEAPON: val = sd->status.look.weapon; break; //2 - case LOOK_HEAD_BOTTOM: val = sd->status.head_bottom; break; //3 - case LOOK_HEAD_TOP: val = sd->status.head_top; break; //4 - case LOOK_HEAD_MID: val = sd->status.head_mid; break; //5 + case LOOK_HEAD_BOTTOM: val = sd->status.look.head_bottom; break; //3 + case LOOK_HEAD_TOP: val = sd->status.look.head_top; break; //4 + case LOOK_HEAD_MID: val = sd->status.look.head_mid; break; //5 case LOOK_HAIR_COLOR: val = sd->status.hair_color; break; //6 case LOOK_CLOTHES_COLOR: val = sd->status.clothes_color; break; //7 case LOOK_SHIELD: val = sd->status.look.shield; break; //8 case LOOK_SHOES: break; //9 - case LOOK_ROBE: val = sd->status.robe; break; //12 + case LOOK_ROBE: val = sd->status.look.robe; break; //12 case LOOK_BODY2: val=sd->status.body; break; //13 } |