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

GitHub noreply at github.com
Fri Dec 28 21:36:02 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6c8e7280a3902ac5429972bcb2ff3f44d5885c2e
      https://github.com/wesnoth/wesnoth/commit/6c8e7280a3902ac5429972bcb2ff3f44d5885c2e
  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