Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RCA AI: fix a bug that kept surrounded units from attacking
In the equation below the line changed, support is a measure of how many AI units can come and aid the attacking unit. For a surrounded unit, support=0, and thus the attack rating (value) was previously always zero, meaning that the unit never attacked. This fixes bug #21334:
- Loading branch information