mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Battlegrounds: Fixed invalid reference to temporary
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user