*Some update of spell target selection.
--HG-- branch : trunk
This commit is contained in:
1 parent
db066046df
commit
b35fe879ad
11 files changed
+208
-37
No files matched your search
+1
-1
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user