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

@@ -62,13 +62,12 @@ bool Eluna::OnQuestReward(Player* pPlayer, Creature* pCreature, Quest const* pQu
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
}
uint32 Eluna::GetDialogStatus(const Player* pPlayer, const Creature* pCreature)
void Eluna::GetDialogStatus(const Player* pPlayer, const Creature* pCreature)
{
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_DIALOG_STATUS, pCreature, DIALOG_STATUS_SCRIPTED_NO_STATUS);
START_HOOK(CREATURE_EVENT_ON_DIALOG_STATUS, pCreature);
Push(pPlayer);
Push(pCreature);
CallAllFunctions(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
return DIALOG_STATUS_SCRIPTED_NO_STATUS;
}
void Eluna::OnAddToWorld(Creature* pCreature)