mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix(Core/Game): Rest & Inn Improvements (#3780)
This commit is contained in:
@@ -522,16 +522,6 @@ struct AreaTableEntry
|
||||
return true;
|
||||
return (flags & AREA_FLAG_SANCTUARY);
|
||||
}
|
||||
|
||||
// Xinef: mark some zones / areas as inns
|
||||
[[nodiscard]] bool IsInn(TeamId teamId) const
|
||||
{
|
||||
if (teamId == TEAM_ALLIANCE)
|
||||
return flags & AREA_FLAG_REST_ZONE_ALLIANCE;
|
||||
else if (teamId == TEAM_HORDE)
|
||||
return flags & AREA_FLAG_REST_ZONE_HORDE;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
#define MAX_GROUP_AREA_IDS 6
|
||||
|
||||
Reference in New Issue
Block a user