*Some update of spell target selection.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-23 00:46:21 -05:00
1 parent db066046df
commit b35fe879ad
11 files changed
+208 -37

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ struct TargetDistanceOrder : public std::binary_function<const Unit *, const Uni
// functor for operator ">"
bool operator()(const Unit * _Left, const Unit * _Right) const
{
return (me->GetDistanceSq(_Left) < me->GetDistanceSq(_Right));
return (me->GetExactDistSq(_Left) < me->GetExactDistSq(_Right));
}
};