Core/Gossips: Fixed gossip menu displaying for gameobjects with type GAMEOBJECT_TYPE_QUESTGIVER, closes #4488
Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
@@ -2793,9 +2793,8 @@ void Spell::SendLoot(uint64 guid, LootType loottype)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
case GAMEOBJECT_TYPE_QUESTGIVER:
|
case GAMEOBJECT_TYPE_QUESTGIVER:
|
||||||
// start or end quest
|
player->PrepareGossipMenu(gameObjTarget, gameObjTarget->GetGOInfo()->questgiver.gossipID);
|
||||||
player->PrepareQuestMenu(guid);
|
player->SendPreparedGossip(gameObjTarget);
|
||||||
player->SendPreparedQuest(guid);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case GAMEOBJECT_TYPE_SPELL_FOCUS:
|
case GAMEOBJECT_TYPE_SPELL_FOCUS:
|
||||||
|
|||||||
Reference in New Issue
Block a user