aboutsummaryrefslogtreecommitdiff
path: root/src/cr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cr.hh')
-rw-r--r--src/cr.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cr.hh b/src/cr.hh
index a971b3b..f36f7bf 100644
--- a/src/cr.hh
+++ b/src/cr.hh
@@ -18,6 +18,11 @@ struct TOutfit{
uint8 Colors[4];
uint32 PackedData;
};
+
+ constexpr bool operator==(const TOutfit &Other) const {
+ return this->OutfitID == Other.OutfitID
+ && this->PackedData == Other.PackedData;
+ }
};
struct TSkillData {