mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Merge branch 'master' into 303
This commit is contained in:
commit
518d7f6297
11 changed files with 86 additions and 97 deletions
|
|
@ -1770,7 +1770,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue