From 20caa41aeae6e49375aeb187c06dc077e330b414 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 3 Dec 2016 06:19:35 +0100 Subject: Differentiate variables that hold a ViewSprite and a Subtype (part 2) `sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru --- src/common/mmo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 1ade0caa9..4b120e812 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -614,8 +614,8 @@ struct mmo_charstatus { struct { short weapon; ///< Weapon view sprite id. + short shield; ///< Shield view sprite id. } look; - short shield; // view-id short head_top,head_mid,head_bottom; short robe; -- cgit v1.2.3-60-g2f50