Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fast Micro AI ai_helper functions: fix rarely occurring bug
When the AI moves a unit out of the way for another unit’s move, it is occasionally possible for the former unit to use up all its movement points (e.g. if it has few MP or on narrow crowded maps). If that unit is on the list to be moved later during the same sequence, this caused ai_helper.robust_move_and_attack() to return nil, which then made the Fast Micro AI produce an error message.
- Loading branch information