aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/Battleground.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-08-02 14:40:12 +0200
committerShauren <shauren.trinity@gmail.com>2024-08-02 14:40:12 +0200
commitdf511503815b7798c83acbffbb1ce5208f189ce7 (patch)
tree92a90871ad4777b43e8d2d77f6f7589a58ded3e3 /src/server/game/Battlegrounds/Battleground.cpp
parente59eef5432c7b70679d33f4911c88d0f7d75fd39 (diff)
Core/DataStores: Updated to 11.0.0
Diffstat (limited to 'src/server/game/Battlegrounds/Battleground.cpp')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp
index fd145cab934..237c283f8c6 100644
--- a/src/server/game/Battlegrounds/Battleground.cpp
+++ b/src/server/game/Battlegrounds/Battleground.cpp
@@ -1304,7 +1304,7 @@ void Battleground::UpdatePvpStat(Player* player, uint32 pvpStatId, uint32 value)
uint32 Battleground::GetMapId() const
{
- return _battlegroundTemplate->BattlemasterEntry->MapID[0];
+ return _battlegroundTemplate->MapIDs.front();
}
void Battleground::SetBgMap(BattlegroundMap* map)