mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Merge pull request #4672 from Subv/fix004
Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER
This commit is contained in:
@@ -2787,9 +2787,8 @@ void Spell::SendLoot(uint64 guid, LootType loottype)
|
||||
return;
|
||||
|
||||
case GAMEOBJECT_TYPE_QUESTGIVER:
|
||||
// start or end quest
|
||||
player->PrepareQuestMenu(guid);
|
||||
player->SendPreparedQuest(guid);
|
||||
player->PrepareGossipMenu(gameObjTarget, gameObjTarget->GetGOInfo()->questgiver.gossipID);
|
||||
player->SendPreparedGossip(gameObjTarget);
|
||||
return;
|
||||
|
||||
case GAMEOBJECT_TYPE_SPELL_FOCUS:
|
||||
|
||||
Reference in New Issue
Block a user