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 Oct 22, 2023
1 parent 64628c7 commit 0da016b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/creatures/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ void Creature::setIncreasePercent(CombatType_t combat, int32_t value) {
}

std::unordered_set<std::shared_ptr<Zone>> Creature::getZones() {
if (const auto& tile = getTile()) {
if (const auto &tile = getTile()) {
return tile->getZones();
}
return {};
Expand Down
4 changes: 2 additions & 2 deletions src/io/iobestiary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ std::map<uint16_t, uint32_t> IOBestiary::getBestiaryKillCountByMonsterIDs(std::s
return raceMonsters;
}

std::vector<uint16_t> IOBestiary::getBestiaryFinished(const std::shared_ptr<Player>& player) const {
const auto& bestiaryMap = g_game().getBestiaryList();
std::vector<uint16_t> IOBestiary::getBestiaryFinished(const std::shared_ptr<Player> &player) const {
const auto &bestiaryMap = g_game().getBestiaryList();

stdext::vector_set<uint16_t> finishedMonsters;
finishedMonsters.reserve(bestiaryMap.size());
Expand Down

0 comments on commit 0da016b

Please sign in to comment.