Created
March 16, 2015 15:59
-
-
Save Demonid/37d82d1abdbde25e3a6f to your computer and use it in GitHub Desktop.
This file contains 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
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp | |
index 161fca4..bf408da 100644 | |
--- a/src/server/game/Entities/Player/Player.cpp | |
+++ b/src/server/game/Entities/Player/Player.cpp | |
@@ -5538,6 +5538,10 @@ void Player::RepopAtGraveyard() | |
bool Player::CanJoinConstantChannelInZone(ChatChannelsEntry const* channel, AreaTableEntry const* zone) | |
{ | |
+ // Player can join LFG anywhere | |
+ if (channel->flags & CHANNEL_DBC_FLAG_LFG) | |
+ return true; | |
+ | |
if (channel->flags & CHANNEL_DBC_FLAG_ZONE_DEP && zone->flags & AREA_FLAG_ARENA_INSTANCE) | |
return false; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment