fix(Core/Spell): Make use of SPELL_ATTR7_IGNORE_COLD_WEATHER_FLYING (#4933)
This commit is contained in:
parent
83e430f28a
commit
fb5d2fa2e5
5 changed files with 47 additions and 27 deletions
|
|
@ -522,6 +522,11 @@ struct AreaTableEntry
|
|||
return true;
|
||||
return (flags & AREA_FLAG_SANCTUARY);
|
||||
}
|
||||
|
||||
[[nodiscard]] bool IsFlyable() const
|
||||
{
|
||||
return flags & AREA_FLAG_OUTLAND && !(flags & AREA_FLAG_NO_FLY_ZONE);
|
||||
}
|
||||
};
|
||||
|
||||
#define MAX_GROUP_AREA_IDS 6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue