Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now

This commit is contained in:
Shauren
2011-03-09 21:32:04 +01:00
parent 6e1e6957e2
commit c2c40a4750
169 changed files with 420 additions and 523 deletions
@@ -1535,7 +1535,7 @@ public:
{
if (Creature* pTemp = Unit::GetCreature(*me, ui_GUID))
if (pTemp->isAlive())
if (Unit* pTarger = SelectUnit(SELECT_TARGET_RANDOM,0))
if (Unit* pTarger = SelectTarget(SELECT_TARGET_RANDOM,0))
if (pTarger->isAlive())
{
// pTemp->DeleteThreatList();