Core/Players: Fixed issues with incorrect targets being selected for spells
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user