mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Gossips: Fix usage of PrepareGossipMenu with GOs
This commit is contained in:
@@ -1119,7 +1119,7 @@ void GameObject::Use(Unit* user)
|
||||
|
||||
Player* player = user->ToPlayer();
|
||||
|
||||
player->PrepareGossipMenu(this, GetGOInfo()->questgiver.gossipID);
|
||||
player->PrepareGossipMenu(this, GetGOInfo()->questgiver.gossipID, true);
|
||||
player->SendPreparedGossip(this);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1982,7 +1982,7 @@ void Spell::SendLoot(uint64 guid, LootType loottype)
|
||||
return;
|
||||
|
||||
case GAMEOBJECT_TYPE_QUESTGIVER:
|
||||
player->PrepareGossipMenu(gameObjTarget, gameObjTarget->GetGOInfo()->questgiver.gossipID);
|
||||
player->PrepareGossipMenu(gameObjTarget, gameObjTarget->GetGOInfo()->questgiver.gossipID, true);
|
||||
player->SendPreparedGossip(gameObjTarget);
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user