Fixed wrong area flags, Fixes resting in city.

This commit is contained in:
hondacrx
2021-10-15 18:05:40 -04:00
parent 18033381b9
commit 5994c4e5fb
9 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ namespace Game.Entities
if (area.IsSanctuary())
return false;
if (area.Flags.HasFlag(AreaFlags.Arena))
if (area.HasFlag(AreaFlags.Arena))
return true;
if (Global.BattleFieldMgr.GetBattlefieldToZoneId(area.Id) != null)