From 9c7ccb5df5722dcd7e55e0585eec199eaa20093f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 13 Jan 2025 22:42:43 -0600 Subject: [PATCH] [jasper/world] Fix ObjTileRefSet comparison operator --- .../modules/world/include/jasper/world/worldstatic.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jasper/modules/world/include/jasper/world/worldstatic.hpp b/src/jasper/modules/world/include/jasper/world/worldstatic.hpp index a85597b..3139315 100644 --- a/src/jasper/modules/world/include/jasper/world/worldstatic.hpp +++ b/src/jasper/modules/world/include/jasper/world/worldstatic.hpp @@ -108,10 +108,14 @@ OX_MODEL_END() [[nodiscard]] constexpr bool operator==(ObjTileRefSet const&a, ObjTileRefSet const&b) noexcept { return + a.palBank == b.palBank && + a.tilesheetIdx == b.tilesheetIdx && + a.cbbIdx == b.cbbIdx && + a.cbb == b.cbb && a.tilesheetId == b.tilesheetId && a.tileCnt == b.tileCnt && a.frames == b.frames && - a.tilesheetIdx == b.tilesheetIdx; + a.intervalMs == b.intervalMs; }