aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/BattlegroundMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-07-05 22:34:45 +0200
committerShauren <shauren.trinity@gmail.com>2025-07-05 22:34:45 +0200
commitc02e311eef9e635738b9e48559d5455ef016d8b4 (patch)
treef89eca0ae0bd057575690d9e6a7a6d72bb2c3e58 /src/server/game/Battlegrounds/BattlegroundMgr.cpp
parent2a2e09e8f431209c00b162f9e6c736d732b24114 (diff)
Core/Gossip: Track started interaction types and reset only questgiver on quest accept
Closes #31120
Diffstat (limited to 'src/server/game/Battlegrounds/BattlegroundMgr.cpp')
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
index ca21d466b37..1f5392f2dae 100644
--- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
@@ -23,6 +23,7 @@
#include "DatabaseEnv.h"
#include "DisableMgr.h"
#include "GameEventMgr.h"
+#include "GossipDef.h"
#include "Language.h"
#include "Log.h"
#include "MapManager.h"
@@ -452,6 +453,8 @@ void BattlegroundMgr::SendBattlegroundList(Player* player, ObjectGuid const& gui
if (!bgTemplate)
return;
+ player->PlayerTalkClass->GetInteractionData().StartInteraction(guid, PlayerInteractionType::BattleMaster);
+
WorldPackets::Battleground::BattlefieldList battlefieldList;
battlefieldList.BattlemasterGuid = guid;
battlefieldList.BattlemasterListID = bgTypeId;