Allow the full raidgroup to uses meetingstones, not just a single subgroup (blizzlike) - thanks to Silinoron!

--HG--
branch : trunk
This commit is contained in:
click
2010-07-24 04:50:35 +02:00
parent ad1ad4f220
commit 2a3df94bca

View File

@@ -1367,8 +1367,8 @@ void GameObject::Use(Unit* user)
Player* targetPlayer = ObjectAccessor::FindPlayer(player->GetSelection());
// accept only use by player from same group for caster except caster itself
if (!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameGroupWith(player))
// accept only use by player from same raid as caster, except caster itself
if (!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameRaidWith(player))
return;
//required lvl checks!