mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11313] Add m_ prefix for a few values in Creature class
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
3cd5a2fb9c
commit
492dd35606
3 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue