Skip to content

Commit

Permalink
Fix meeting stones not being usable in different raid subgroups
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlockbugs committed Oct 14, 2016
1 parent ced2ac6 commit 62197c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/game/GameObject.cpp
Expand Up @@ -1573,7 +1573,11 @@ void GameObject::Use(Unit* user)
Player* targetPlayer = ObjectAccessor::FindPlayer(player->GetSelectionGuid());

// accept only use by player from same group for caster except caster itself
if (!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameGroupWith(player))
if (!targetPlayer || targetPlayer == player)
return;

Group* group = player->GetGroup();
if (!group || group != targetPlayer->GetGroup())
return;

// required lvl checks!
Expand Down

0 comments on commit 62197c6

Please sign in to comment.