[8539] Check pet aura range at area aura update

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Astellar 2009-09-25 23:21:25 +03:00 committed by Ambal
parent 04e7a553c2
commit a84f2cba63
2 changed files with 2 additions and 2 deletions

View file

@ -772,7 +772,7 @@ void AreaAura::Update(uint32 diff)
case AREA_AURA_OWNER:
case AREA_AURA_PET:
{
if(owner != caster)
if(owner != caster && caster->IsWithinDistInMap(owner, m_radius))
targets.push_back(owner);
break;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8538"
#define REVISION_NR "8539"
#endif // __REVISION_NR_H__