mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[8539] Check pet aura range at area aura update
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
8c276365ba
commit
88efd1f18a
2 changed files with 2 additions and 2 deletions
|
|
@ -784,7 +784,7 @@ void AreaAura::Update(uint32 diff)
|
||||||
case AREA_AURA_OWNER:
|
case AREA_AURA_OWNER:
|
||||||
case AREA_AURA_PET:
|
case AREA_AURA_PET:
|
||||||
{
|
{
|
||||||
if(owner != caster)
|
if(owner != caster && caster->IsWithinDistInMap(owner, m_radius))
|
||||||
targets.push_back(owner);
|
targets.push_back(owner);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8538"
|
#define REVISION_NR "8539"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue