mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[8539] Check pet aura range at area aura update
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
04e7a553c2
commit
a84f2cba63
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8538"
|
||||
#define REVISION_NR "8539"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue