summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-07-23 01:04:25 +0200
committerGitHub <noreply@github.com>2018-07-23 01:04:25 +0200
commitbe3209bc5ff1b88314c47a6fdc53d73deaa9e96a (patch)
treea12e7ac7b7e6ae8410ba170d345a3022da0e51a5 /src/map/unit.h
parentbcaf5eaa9c8ef65068ab5468d7bd13e2df516cab (diff)
parent6c73aa1b03b04d4d9a2ba9056b8583475856da12 (diff)
downloadhercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.gz
hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.bz2
hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.tar.xz
hercules-be3209bc5ff1b88314c47a6fdc53d73deaa9e96a.zip
Merge pull request #2134 from 4144/itemint
Update int fields to using int32
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 761b3a0b6..0c1c2405c 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -81,16 +81,16 @@ struct unit_data {
struct view_data {
int16 class;
- uint16 weapon,
+ int weapon,
shield, //Or left-hand weapon.
robe,
head_top,
head_mid,
head_bottom,
hair_style,
- hair_color,
- cloth_color,
body_style;
+ uint16 hair_color,
+ cloth_color;
char sex;
unsigned dead_sit : 2;
};