Core/Players: Fixed issues with incorrect targets being selected for spells

This commit is contained in:
Shauren
2013-10-03 17:07:25 +02:00
parent dd4404e6e3
commit a368fae588
15 changed files with 93 additions and 102 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ public:
return false;
}
if (handler->GetSession()->GetPlayer()->GetSelection())
if (handler->GetSession()->GetPlayer()->GetTarget())
unit->PlayDistanceSound(soundId, handler->GetSession()->GetPlayer());
else
unit->PlayDirectSound(soundId, handler->GetSession()->GetPlayer());