[wesnoth-commits] [wesnoth/wesnoth] e34b3a: RCA AI: remove possibility of infinite candidate a...

GitHub noreply at github.com
Sat Dec 29 01:23:01 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e34b3a85401ef223855c637754d5185693e402df
      https://github.com/wesnoth/wesnoth/commit/e34b3a85401ef223855c637754d5185693e402df
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-28 (Fri, 28 Dec 2018)

  Changed paths:
    M changelog.md
    M src/ai/actions.cpp

  Log Message:
  -----------
  RCA AI: remove possibility of infinite candidate action loops

The RCA AI main_loop stage prevents infinite candidate action loops by blacklisting CAs that do not change the game state. However, the different stopunit actions previously always marked the game state as changed, even when used on units which already did not have moves and/or attacks.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list