[-] Fixed bug with air units

This commit is contained in:
cybermind 2015-03-15 23:21:47 +05:00
parent 917ef457a3
commit 0fdb44054b

View file

@ -735,7 +735,7 @@ private:
}
if (dtype.UnitType == UnitTypeFly && dest->IsAgressive() == false) {
return INT_MAX;
return INT_MAX / 2;
}
// Calculate the costs to attack the unit.