Core/GameObjects: Add isUse parameter to GossipHello for distinction between CMSG_GAMEOBJECT_USE and CMSG_GAMEOBJECT_REPORT_USE

This commit is contained in:
Shocker
2016-05-26 13:09:56 +03:00
parent 2fffa51a65
commit b539ac6afa
9 changed files with 17 additions and 13 deletions
@@ -1247,7 +1247,7 @@ void GameObject::Use(Unit* user)
if (sScriptMgr->OnGossipHello(playerUser, this))
return;
if (AI()->GossipHello(playerUser))
if (AI()->GossipHello(playerUser, true))
return;
}