[8642] Replace the Spanish word 'hostil' with the English one.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2009-10-14 12:44:15 +02:00
parent da4a1037e7
commit 65965bc5fa
22 changed files with 150 additions and 150 deletions

View file

@ -71,7 +71,7 @@ static bool isNonTriggerAura[TOTAL_AURAS];
static bool procPrepared = InitTriggerAuraData();
Unit::Unit()
: WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this)
: WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostileRefManager(this)
{
m_objectType |= TYPEMASK_UNIT;
m_objectTypeId = TYPEID_UNIT;
@ -211,7 +211,7 @@ void Unit::Update( uint32 p_time )
// Check UNIT_STAT_MELEE_ATTACKING or UNIT_STAT_CHASE (without UNIT_STAT_FOLLOW in this case) so pets can reach far away
// targets without stopping half way there and running off.
// These flags are reset after target dies or another command is given.
if( m_HostilRefManager.isEmpty() )
if( m_HostileRefManager.isEmpty() )
{
// m_CombatTimer set at aura start and it will be freeze until aura removing
if ( m_CombatTimer <= p_time )
@ -576,7 +576,7 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa
// stop combat
pVictim->CombatStop();
pVictim->getHostilRefManager().deleteReferences();
pVictim->getHostileRefManager().deleteReferences();
bool damageFromSpiritOfRedemtionTalent = spellProto && spellProto->Id == 27795;
@ -10253,7 +10253,7 @@ void Unit::TauntFadeOut(Unit *taunter)
}
m_ThreatManager.tauntFadeOut(taunter);
target = m_ThreatManager.getHostilTarget();
target = m_ThreatManager.getHostileTarget();
if (target && target != taunter)
{
@ -10265,7 +10265,7 @@ void Unit::TauntFadeOut(Unit *taunter)
//======================================================================
bool Unit::SelectHostilTarget()
bool Unit::SelectHostileTarget()
{
//function provides main threat functionality
//next-victim-selection algorithm and evade mode are called
@ -10312,7 +10312,7 @@ bool Unit::SelectHostilTarget()
if ( !target && !m_ThreatManager.isThreatListEmpty() )
// No taunt aura or taunt aura caster is dead standart target selection
target = m_ThreatManager.getHostilTarget();
target = m_ThreatManager.getHostileTarget();
if(target)
{
@ -11005,7 +11005,7 @@ void Unit::CleanupsBeforeDelete()
CombatStop();
ClearComboPointHolders();
DeleteThreatList();
getHostilRefManager().setOnlineOfflineState(false);
getHostileRefManager().setOnlineOfflineState(false);
RemoveAllAuras();
RemoveAllGameObjects();
RemoveAllDynObjects();
@ -11793,7 +11793,7 @@ void Unit::SetFeignDeath(bool apply, uint64 const& casterGUID, uint32 spellID)
if (casterGUID == GetGUID())
FinishSpell(CURRENT_GENERIC_SPELL,false);
InterruptNonMeleeSpells(true);
getHostilRefManager().deleteReferences();
getHostileRefManager().deleteReferences();
}
else
{