Rename 'Hostil' to 'Hostile'

Credits to NoFantasy (Mangos)
Closes issue #411

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-03-09 11:11:10 +01:00
1 parent c716c0e5e5
commit 8034a6c48e
63 files changed
+260 -260

No files matched your search

+2 -2
View File
@@ -743,10 +743,10 @@ struct mob_phase_hunterAI : public ScriptedAI
// some code to cast spell Mana Burn on random target which has mana
if (ManaBurnTimer <= diff)
{
std::list<HostilReference*> AggroList = m_creature->getThreatManager().getThreatList();
std::list<HostileReference*> AggroList = m_creature->getThreatManager().getThreatList();
std::list<Unit*> UnitsWithMana;
for(std::list<HostilReference*>::const_iterator itr = AggroList.begin(); itr != AggroList.end(); ++itr)
for(std::list<HostileReference*>::const_iterator itr = AggroList.begin(); itr != AggroList.end(); ++itr)
{
if(Unit *pUnit = Unit::GetUnit(*m_creature, (*itr)->getUnitGuid()))
{