summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-12-03 06:29:06 +0100
committerHaru <haru@dotalux.com>2017-09-17 17:48:16 +0200
commit2b5309e5e393cf3f5fb7678c7e7690aec0511f21 (patch)
tree89b842b453219dc39171ac0d3f6c1e6f73294dda /src/common
parent20caa41aeae6e49375aeb187c06dc077e330b414 (diff)
downloadhercules-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/common')
-rw-r--r--src/common/mmo.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 4b120e812..85e0a83ae 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -613,11 +613,13 @@ struct mmo_charstatus {
int sword_faith, sword_calls;
struct {
- short weapon; ///< Weapon view sprite id.
- short shield; ///< Shield view sprite id.
+ short weapon; ///< Weapon view sprite id.
+ short shield; ///< Shield view sprite id.
+ short head_top; ///< Top headgear view sprite id.
+ short head_mid; ///< Middle headgear view sprite id.
+ short head_bottom; ///< Bottom headgear view sprite id.
+ short robe; ///< Robe view sprite id.
} look;
- short head_top,head_mid,head_bottom;
- short robe;
char name[NAME_LENGTH];
int base_level, job_level;