Permalink
Browse files

Core/Gossips: Fix usage of PrepareGossipMenu with GOs

  • Loading branch information...
1 parent abbe692 commit 7df4d147e3a30dbc51ee5fa359fdc69e8ac311c3 @Gacko Gacko committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/server/game/Entities/GameObject/GameObject.cpp
  2. +1 −1 src/server/game/Spells/SpellEffects.cpp
@@ -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;

1 comment on commit 7df4d14

Please sign in to comment.