aboutsummaryrefslogtreecommitdiff
path: root/src/cr.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-23 06:34:16 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-23 06:34:16 -0300
commitbdfcbb2f0edee2679bfe588df55e9f99bd837510 (patch)
tree4aea2b1039ea4988debd054c024eefe9c3021dc4 /src/cr.hh
parentc4dfe97e95846b43c578b3be35d0ef69f9b50e94 (diff)
downloadgame-bdfcbb2f0edee2679bfe588df55e9f99bd837510.tar.gz
game-bdfcbb2f0edee2679bfe588df55e9f99bd837510.zip
`receiving.cc`
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 {