Skip to content

Commit

Permalink
Merge 3.3.5 to npcbots_3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Jan 10, 2025
2 parents f284467 + ae1f80c commit c39b35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/Time/WowTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ std::strong_ordering operator<=>(WowTime const& left, WowTime const& right)
if (std::strong_ordering cmp = compareFieldIfSet(&WowTime::_weekDay); advstd::is_neq(cmp))
return cmp;

if (std::strong_ordering cmp = compareFieldIfSet(&WowTime::_year); advstd::is_neq(cmp))
if (std::strong_ordering cmp = compareFieldIfSet(&WowTime::_hour); advstd::is_neq(cmp))
return cmp;

if (std::strong_ordering cmp = compareFieldIfSet(&WowTime::_hour); advstd::is_neq(cmp))
if (std::strong_ordering cmp = compareFieldIfSet(&WowTime::_minute); advstd::is_neq(cmp))
return cmp;

return std::strong_ordering::equal;
Expand Down

0 comments on commit c39b35e

Please sign in to comment.