-
-
Save Demonid/2e5bef0ac6897b0cf69b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -5525,7 +5534,7 @@ bool Player::CanJoinConstantChannelInZone(ChatChannelsEntry const* channel, Area | |
if (channel->flags & CHANNEL_DBC_FLAG_ZONE_DEP && zone->flags & AREA_FLAG_ARENA_INSTANCE) | |
return false; | |
- if ((channel->flags & CHANNEL_DBC_FLAG_CITY_ONLY) && (!(zone->flags & AREA_FLAG_SLAVE_CAPITAL))) | |
+ if ((channel->flags & CHANNEL_DBC_FLAG_CITY_ONLY) && (!(zone->mapid == 0 || zone->mapid == 1 || zone->mapid == 571 || zone->mapid == 530))) | |
return false; | |
if ((channel->flags & CHANNEL_DBC_FLAG_GUILD_REQ) && GetGuildId()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment