From 19c00a3ce3072c0567fed207b6d57049289257d3 Mon Sep 17 00:00:00 2001 From: William JCM Date: Sat, 2 Oct 2021 19:22:52 +0200 Subject: [PATCH] Mass: rename Armour to ArmourPart. This is more consistent with WeaponPart, which designates a part of the full weapon. --- src/Mass/Mass.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mass/Mass.h b/src/Mass/Mass.h index f2cd17c..61988da 100644 --- a/src/Mass/Mass.h +++ b/src/Mass/Mass.h @@ -81,7 +81,7 @@ struct Accessory { Vector3 localScale{1.0f}; }; -struct Armour { +struct ArmourPart { std::string slot; Int id = 0; Containers::StaticArray<4, Int> styles{ValueInit}; @@ -184,7 +184,7 @@ class Mass { } _frame; struct { - Containers::StaticArray<38, Armour> parts; + Containers::StaticArray<38, ArmourPart> parts; Containers::StaticArray<16, CustomStyle> customStyles; } _armour;