Remove unused dialog status from hook

This commit is contained in:
Rochet2
2018-01-03 16:06:25 +02:00
parent 28e2497afa
commit d9415332bb
4 changed files with 6 additions and 9 deletions

View File

@@ -68,13 +68,12 @@ bool Eluna::OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const*
return CallAllFunctionsBool(GameObjectEventBindings, key);
}
uint32 Eluna::GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject)
void Eluna::GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject)
{
START_HOOK_WITH_RETVAL(GAMEOBJECT_EVENT_ON_DIALOG_STATUS, pGameObject->GetEntry(), false);
START_HOOK(GAMEOBJECT_EVENT_ON_DIALOG_STATUS, pGameObject->GetEntry());
Push(pPlayer);
Push(pGameObject);
CallAllFunctions(GameObjectEventBindings, key);
return DIALOG_STATUS_SCRIPTED_NO_STATUS; // DIALOG_STATUS_UNDEFINED
}
#ifndef CLASSIC