diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-02-07 21:14:48 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-02-07 21:14:48 +0100 |
commit | 2fd120da3206a067bc8c9ff88bfbeadc4b6f4641 (patch) | |
tree | b7be3955de02b2bc48ad14fc3e681c71bcc5d450 /src | |
parent | 0f5d634e381b2bf6d4062c0ebd31551d98f64a32 (diff) |
Core/Battlegrounds: Fixed invalid reference to temporary
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Battlegrounds/Battleground.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.h b/src/server/game/Battlegrounds/Battleground.h index 1a396c67e70..a51b55f2866 100644 --- a/src/server/game/Battlegrounds/Battleground.h +++ b/src/server/game/Battlegrounds/Battleground.h @@ -442,7 +442,7 @@ class TC_GAME_API Battleground BattlegroundPlayer const* GetBattlegroundPlayerData(ObjectGuid const& playerGuid) const { - auto const& itr = m_Players.find(playerGuid); + auto itr = m_Players.find(playerGuid); if (itr == m_Players.end()) return nullptr; |