Fix Eluna hook calls
This commit is contained in:
parent
8a3a4e0901
commit
737fc48970
@ -2391,10 +2391,8 @@ bool ScriptMgr::OnQuestRewarded(Player* pPlayer, GameObject* pGameObject, Quest
|
|||||||
|
|
||||||
uint32 ScriptMgr::GetDialogStatus(Player* pPlayer, Creature* pCreature)
|
uint32 ScriptMgr::GetDialogStatus(Player* pPlayer, Creature* pCreature)
|
||||||
{
|
{
|
||||||
// Used by Eluna
|
|
||||||
#ifdef ENABLE_ELUNA
|
#ifdef ENABLE_ELUNA
|
||||||
if (uint32 dialogId = sEluna->GetDialogStatus(pPlayer, pCreature))
|
sEluna->GetDialogStatus(pPlayer, pCreature);
|
||||||
return dialogId;
|
|
||||||
#endif /* ENABLE_ELUNA */
|
#endif /* ENABLE_ELUNA */
|
||||||
|
|
||||||
#ifdef ENABLE_SD3
|
#ifdef ENABLE_SD3
|
||||||
@ -2406,10 +2404,8 @@ uint32 ScriptMgr::GetDialogStatus(Player* pPlayer, Creature* pCreature)
|
|||||||
|
|
||||||
uint32 ScriptMgr::GetDialogStatus(Player* pPlayer, GameObject* pGameObject)
|
uint32 ScriptMgr::GetDialogStatus(Player* pPlayer, GameObject* pGameObject)
|
||||||
{
|
{
|
||||||
// Used by Eluna
|
|
||||||
#ifdef ENABLE_ELUNA
|
#ifdef ENABLE_ELUNA
|
||||||
if (uint32 dialogId = sEluna->GetDialogStatus(pPlayer, pGameObject))
|
sEluna->GetDialogStatus(pPlayer, pGameObject);
|
||||||
return dialogId;
|
|
||||||
#endif /* ENABLE_ELUNA */
|
#endif /* ENABLE_ELUNA */
|
||||||
|
|
||||||
#ifdef ENABLE_SD3
|
#ifdef ENABLE_SD3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user