[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:
balrok 2008-11-13 18:21:35 +01:00 committed by hunuza
parent 1ad9adc467
commit 8347cba493
2 changed files with 2 additions and 2 deletions

View file

@ -1775,7 +1775,7 @@ bool Creature::IsOutOfThreatArea(Unit* pVictim) const
if(!pVictim->isInAccessablePlaceFor(this))
return true;
if(sMapStore.LookupEntry(GetMapId())->Instanceable())
if(sMapStore.LookupEntry(GetMapId())->IsDungeon())
return false;
float length = pVictim->GetDistance(CombatStartX,CombatStartY,CombatStartZ);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "6865"
#define REVISION_NR "6866"
#endif // __REVISION_NR_H__