diff options
| author | Spp <none@none> | 2010-03-09 11:11:10 +0100 |
|---|---|---|
| committer | Spp <none@none> | 2010-03-09 11:11:10 +0100 |
| commit | 8034a6c48ea565345cd769422bb80acf5df015e4 (patch) | |
| tree | 41ca28853f2c124a3b6c07b0d917538f80118bcd /src/scripts/kalimdor | |
| parent | c716c0e5e59f5e37f8e46822d77555768f23633a (diff) | |
Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos)
Closes issue #411
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/kalimdor')
5 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/kalimdor/boss_azuregos.cpp b/src/scripts/kalimdor/boss_azuregos.cpp index 94af33c83be..26801be6c8e 100644 --- a/src/scripts/kalimdor/boss_azuregos.cpp +++ b/src/scripts/kalimdor/boss_azuregos.cpp @@ -71,8 +71,8 @@ struct boss_azuregosAI : public ScriptedAI if (Teleport_Timer <= diff) { DoScriptText(SAY_TELEPORT, m_creature); - std::list<HostilReference*>& m_threatlist = m_creature->getThreatManager().getThreatList(); - std::list<HostilReference*>::iterator i = m_threatlist.begin(); + std::list<HostileReference*>& m_threatlist = m_creature->getThreatManager().getThreatList(); + std::list<HostileReference*>::iterator i = m_threatlist.begin(); for (i = m_threatlist.begin(); i!= m_threatlist.end(); ++i) { Unit* pUnit = Unit::GetUnit((*m_creature), (*i)->getUnitGuid()); diff --git a/src/scripts/kalimdor/caverns_of_time/hyjal/boss_archimonde.cpp b/src/scripts/kalimdor/caverns_of_time/hyjal/boss_archimonde.cpp index 30aeaceffc1..1377439c40b 100644 --- a/src/scripts/kalimdor/caverns_of_time/hyjal/boss_archimonde.cpp +++ b/src/scripts/kalimdor/caverns_of_time/hyjal/boss_archimonde.cpp @@ -302,12 +302,12 @@ struct boss_archimondeAI : public hyjal_trashAI if (victim && m_creature->IsWithinDistInMap(victim, m_creature->GetAttackDistance(victim))) return false; - std::list<HostilReference*>& m_threatlist = m_creature->getThreatManager().getThreatList(); + std::list<HostileReference*>& m_threatlist = m_creature->getThreatManager().getThreatList(); if (m_threatlist.empty()) return false; std::list<Unit*> targets; - std::list<HostilReference*>::iterator itr = m_threatlist.begin(); + std::list<HostileReference*>::iterator itr = m_threatlist.begin(); for (; itr != m_threatlist.end(); ++itr) { Unit* pUnit = Unit::GetUnit((*m_creature), (*itr)->getUnitGuid()); diff --git a/src/scripts/kalimdor/caverns_of_time/hyjal/boss_kazrogal.cpp b/src/scripts/kalimdor/caverns_of_time/hyjal/boss_kazrogal.cpp index a5c0f27fade..1885fadc3c1 100644 --- a/src/scripts/kalimdor/caverns_of_time/hyjal/boss_kazrogal.cpp +++ b/src/scripts/kalimdor/caverns_of_time/hyjal/boss_kazrogal.cpp @@ -152,8 +152,8 @@ struct boss_kazrogalAI : public hyjal_trashAI //cast dummy, useful for bos addons m_creature->CastCustomSpell(m_creature, SPELL_MARK, NULL, NULL, NULL, false, NULL, NULL, m_creature->GetGUID()); - std::list<HostilReference *> t_list = m_creature->getThreatManager().getThreatList(); - for (std::list<HostilReference *>::iterator itr = t_list.begin(); itr!= t_list.end(); ++itr) + std::list<HostileReference *> t_list = m_creature->getThreatManager().getThreatList(); + for (std::list<HostileReference *>::iterator itr = t_list.begin(); itr!= t_list.end(); ++itr) { Unit *pTarget = Unit::GetUnit(*m_creature, (*itr)->getUnitGuid()); if (pTarget && pTarget->GetTypeId() == TYPEID_PLAYER && pTarget->getPowerType() == POWER_MANA) diff --git a/src/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp b/src/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp index 25fa866c833..bea64893b2c 100644 --- a/src/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp +++ b/src/scripts/kalimdor/temple_of_ahnqiraj/boss_cthun.cpp @@ -654,7 +654,7 @@ struct cthunAI : public Scripted_NoMovementAI //Place all units in threat list on outside of stomach Stomach_Map.clear(); - std::list<HostilReference*>::iterator i = m_creature->getThreatManager().getThreatList().begin(); + std::list<HostileReference*>::iterator i = m_creature->getThreatManager().getThreatList().begin(); for (; i != m_creature->getThreatManager().getThreatList().end(); ++i) { //Outside stomach diff --git a/src/scripts/kalimdor/temple_of_ahnqiraj/mob_anubisath_sentinel.cpp b/src/scripts/kalimdor/temple_of_ahnqiraj/mob_anubisath_sentinel.cpp index 1c09e7e8eda..7cdb76a82e1 100644 --- a/src/scripts/kalimdor/temple_of_ahnqiraj/mob_anubisath_sentinel.cpp +++ b/src/scripts/kalimdor/temple_of_ahnqiraj/mob_anubisath_sentinel.cpp @@ -240,7 +240,7 @@ struct aqsentinelAI : public ScriptedAI Unit *GetHatedManaUser() const { - std::list<HostilReference*>::iterator i; + std::list<HostileReference*>::iterator i; for (i = m_creature->getThreatManager().getThreatList().begin(); i != m_creature->getThreatManager().getThreatList().end(); ++i) { Unit* pUnit = Unit::GetUnit((*m_creature), (*i)->getUnitGuid()); |
