Skip to content

Instantly share code, notes, and snippets.

@Demonid
Forked from callmephil/ACE.diff
Last active August 29, 2015 14:16
Show Gist options
  • Save Demonid/b916e765f407e399971d to your computer and use it in GitHub Desktop.
Save Demonid/b916e765f407e399971d to your computer and use it in GitHub Desktop.
@@ -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