mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[6866] Fixed: Only dungeons, not all instancable maps should modify aggro-behaviour.
This has no functional effect until the battlegrounds are instanced. Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
1ad9adc467
commit
8347cba493
2 changed files with 2 additions and 2 deletions
|
|
@ -1775,7 +1775,7 @@ bool Creature::IsOutOfThreatArea(Unit* pVictim) const
|
||||||
if(!pVictim->isInAccessablePlaceFor(this))
|
if(!pVictim->isInAccessablePlaceFor(this))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if(sMapStore.LookupEntry(GetMapId())->Instanceable())
|
if(sMapStore.LookupEntry(GetMapId())->IsDungeon())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
float length = pVictim->GetDistance(CombatStartX,CombatStartY,CombatStartZ);
|
float length = pVictim->GetDistance(CombatStartX,CombatStartY,CombatStartZ);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6865"
|
#define REVISION_NR "6866"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue