*Merge.
--HG-- branch : trunk
This commit is contained in:
commit
16ee4a46c2
24 files changed
+170
-305
No files matched your search
+1
-6
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user