[-] Fixed bug with air units
This commit is contained in:
parent
917ef457a3
commit
0fdb44054b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue