--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-12 14:22:59 -06:00
commit 16ee4a46c2
24 files changed
+170 -305

No files matched your search

+1 -6
View File
@@ -1892,16 +1892,11 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap)
break;
}
if(cur == TARGET_DEST_TARGET_ENEMY)
if(cur == TARGET_DEST_TARGET_ENEMY || cur == TARGET_DEST_TARGET_ANY)
{
m_targets.setDestination(target, true);
break;
}
else if(cur == TARGET_DEST_TARGET_FRIEND) // no ground?
{
m_targets.setDestination(target, false);
break;
}
float x, y, z, angle, dist;