Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed May 15, 2024
1 parent 612caea commit 77fdc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4114,7 +4114,7 @@ bool Player::isInWar(const Player* player) const
return false;
}

const auto playerGuild = player->getGuild();
const auto& playerGuild = player->getGuild();
if (!playerGuild) {
return false;
}
Expand Down Expand Up @@ -4255,7 +4255,7 @@ GuildEmblems_t Player::getGuildEmblem(const Player* player) const
return GUILDEMBLEM_NONE;
}

const auto playerGuild = player->getGuild();
const auto& playerGuild = player->getGuild();
if (!playerGuild) {
return GUILDEMBLEM_NONE;
}
Expand Down

0 comments on commit 77fdc5f

Please sign in to comment.