*Fix build, minor cleanup
--HG-- branch : trunk
This commit is contained in:
@@ -835,7 +835,7 @@ struct TRINITY_DLL_DECL npc_overlord_morghorAI : public ScriptedAI
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CreatureAI* GetAI_npc_overlord_morghorAI(Creature* pCreature)
|
CreatureAI* GetAI_npc_overlord_morghor(Creature* pCreature)
|
||||||
{
|
{
|
||||||
return new npc_overlord_morghorAI(pCreature);
|
return new npc_overlord_morghorAI(pCreature);
|
||||||
}
|
}
|
||||||
@@ -998,7 +998,7 @@ struct TRINITY_DLL_DECL npc_earthmender_wildaAI : public npc_escortAI
|
|||||||
{
|
{
|
||||||
npc_escortAI::UpdateAI(uiDiff);
|
npc_escortAI::UpdateAI(uiDiff);
|
||||||
|
|
||||||
if (!m_creature->SelectHostilTarget() || !m_creature->getVictim())
|
if (!m_creature->getThreatManager().getHostilTarget() || !m_creature->getVictim())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//TODO: add more abilities
|
//TODO: add more abilities
|
||||||
@@ -1803,13 +1803,13 @@ void AddSC_shadowmoon_valley()
|
|||||||
|
|
||||||
newscript = new Script;
|
newscript = new Script;
|
||||||
newscript->Name = "npc_overlord_morghor";
|
newscript->Name = "npc_overlord_morghor";
|
||||||
newscript->GetAI = &GetAI_npc_overlord_morghorAI;
|
newscript->GetAI = &GetAI_npc_overlord_morghor;
|
||||||
newscript->pQuestAccept = &QuestAccept_npc_overlord_morghor;
|
newscript->pQuestAccept = &QuestAccept_npc_overlord_morghor;
|
||||||
newscript->RegisterSelf();
|
newscript->RegisterSelf();
|
||||||
|
|
||||||
newscript = new Script;
|
newscript = new Script;
|
||||||
newscript->Name = "npc_earthmender_wilda";
|
newscript->Name = "npc_earthmender_wilda";
|
||||||
newscript->GetAI = &GetAI_npc_earthmender_wildaAI;
|
newscript->GetAI = &GetAI_npc_earthmender_wilda;
|
||||||
newscript->pQuestAccept = &QuestAccept_npc_earthmender_wilda;
|
newscript->pQuestAccept = &QuestAccept_npc_earthmender_wilda;
|
||||||
newscript->RegisterSelf();
|
newscript->RegisterSelf();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user