[Commits] [wesnoth/wesnoth] 4f8d99: AI Attacks Aspect: Better exclusion of invalid uni...
GitHub
noreply at github.com
Mon Oct 17 20:27:47 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 4f8d99f96b250b36c2283524cc8ba1450675764d
https://github.com/wesnoth/wesnoth/commit/4f8d99f96b250b36c2283524cc8ba1450675764d
Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
Date: 2016-10-17 (Mon, 17 Oct 2016)
Changed paths:
M src/ai/default/aspect_attacks.cpp
Log Message:
-----------
AI Attacks Aspect: Better exclusion of invalid units
Previously the aspect did not check whether a potential attacker belongs to the AI's side,
or whether a potential target is an enemy. This generally isn't a problem, but should probably
be fixed anyway. In particular, it affects the new ai.aspects.attacks result.
More information about the Commits
mailing list