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 Jan 19, 2025
1 parent 08ee1fd commit c2345c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10071,8 +10071,8 @@ void Game::updateMonster(const std::shared_ptr<Monster> &monster, const std::sha
return;
}

const auto& oldName = monster->getLowerName();
const auto& newName = monsterType->name;
const auto &oldName = monster->getLowerName();
const auto &newName = monsterType->name;

auto it = monstersNameIndex.find(oldName);
if (it == monstersNameIndex.end()) {
Expand Down

0 comments on commit c2345c1

Please sign in to comment.