[11313] Add m_ prefix for a few values in Creature class

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-04-04 17:05:13 +02:00
parent 3cd5a2fb9c
commit 492dd35606
3 changed files with 7 additions and 7 deletions

View file

@ -1871,7 +1871,7 @@ bool Creature::IsOutOfThreatArea(Unit* pVictim) const
float ThreatRadius = sWorld.getConfig(CONFIG_FLOAT_THREAT_RADIUS);
//Use AttackDistance in distance check if threat radius is lower. This prevents creature bounce in and out of combat every update tick.
return !pVictim->IsWithinDist3d(CombatStartX, CombatStartY, CombatStartZ,
return !pVictim->IsWithinDist3d(m_combatStartX, m_combatStartY, m_combatStartZ,
ThreatRadius > AttackDist ? ThreatRadius : AttackDist);
}