Fix cmangos tbc compile

This commit is contained in:
Rochet2
2016-12-09 23:57:40 +02:00
parent 4cd1c608a3
commit b6270285f8
3 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -68,7 +68,7 @@ bool Eluna::OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const*
return CallAllFunctionsBool(GameObjectEventBindings, key);
}
uint32 Eluna::GetDialogStatus(Player* pPlayer, GameObject* pGameObject)
uint32 Eluna::GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject)
{
START_HOOK_WITH_RETVAL(GAMEOBJECT_EVENT_ON_DIALOG_STATUS, pGameObject->GetEntry(), false);
Push(pPlayer);

View File

@@ -350,7 +350,7 @@ public:
bool OnGossipSelectCode(Player* pPlayer, Creature* pCreature, uint32 sender, uint32 action, const char* code);
bool OnQuestAccept(Player* pPlayer, Creature* pCreature, Quest const* pQuest);
bool OnQuestReward(Player* pPlayer, Creature* pCreature, Quest const* pQuest, uint32 opt);
uint32 GetDialogStatus(Player* pPlayer, Creature* pCreature);
uint32 GetDialogStatus(const Player* pPlayer, const Creature* pCreature);
bool OnSummoned(Creature* creature, Unit* summoner);
bool UpdateAI(Creature* me, const uint32 diff);
@@ -384,7 +384,7 @@ public:
bool OnGossipSelectCode(Player* pPlayer, GameObject* pGameObject, uint32 sender, uint32 action, const char* code);
bool OnQuestAccept(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest);
bool OnQuestReward(Player* pPlayer, GameObject* pGameObject, Quest const* pQuest, uint32 opt);
uint32 GetDialogStatus(Player* pPlayer, GameObject* pGameObject);
uint32 GetDialogStatus(const Player* pPlayer, const GameObject* pGameObject);
#ifndef CLASSIC
#ifndef TBC
void OnDestroyed(GameObject* pGameObject, Player* pPlayer);