Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 15, 2024
1 parent ca1a429 commit f3cd638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/creatures/players/wheel/player_wheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ bool PlayerWheel::handleBeamMasteryCooldown(const std::shared_ptr<Player> &playe

void PlayerWheel::addPromotionScrolls(NetworkMessage &msg) const {
msg.add<uint16_t>(m_unlockedScrolls.size());
for (const auto& [itemId, name, extraPoints] : m_unlockedScrolls) {
for (const auto &[itemId, name, extraPoints] : m_unlockedScrolls) {
msg.add<uint16_t>(itemId);
}
}
Expand Down Expand Up @@ -1018,7 +1018,7 @@ std::vector<PlayerWheelGem> PlayerWheel::getActiveGems() const {
std::vector<PlayerWheelGem> activeGems;
for (const auto &affinity : magic_enum::enum_values<WheelGemAffinity_t>()) {
const auto &gem = m_activeGems[static_cast<uint8_t>(affinity)];

if (!gem) {
continue;
}
Expand Down Expand Up @@ -1644,7 +1644,7 @@ void PlayerWheel::loadActiveGems() {
continue;
}

auto it = std::ranges::find_if(m_revealedGems, [&uuid](const auto& gem) {
auto it = std::ranges::find_if(m_revealedGems, [&uuid](const auto &gem) {
return gem.uuid == uuid;
});

Expand Down

0 comments on commit f3cd638

Please sign in to comment.