Skip to content
Browse files

remove lfg buff when entering arena/bg fix by eumel

  • Loading branch information...
1 parent b75c165 commit efc24dc8a1854a140e0c42a4d3e10961b0769850 @kelthuzad kelthuzad committed Jul 8, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/game/BattleGround.cpp
View
4 src/game/BattleGround.cpp
@@ -1311,6 +1311,10 @@ void BattleGround::AddPlayer(Player *plr)
if (plr->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_AFK))
plr->ToggleAFK();
+ // remove LFG-Buff from player
+ if (plr->HasAura(72221))
+ plr->RemoveAurasDueToSpell(72221);
+
// score struct must be created in inherited class
ObjectGuid guid = plr->GetObjectGuid();

2 comments on commit efc24dc

@linainvers

work ?)

@kelthuzad
Iov member

untested :X

Please sign in to comment.
Something went wrong with that request. Please try again.