[Commits] [wesnoth/wesnoth] 0b6fa7: Experimental AI: remove potential of causing error...

GitHub noreply at github.com
Fri Feb 28 15:05:08 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0b6fa7ed192ea94b127f69cbcaba6002c8da7792
      https://github.com/wesnoth/wesnoth/commit/0b6fa7ed192ea94b127f69cbcaba6002c8da7792
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-02-28 (Fri, 28 Feb 2014)

  Changed paths:
    M data/ai/lua/generic_rush_engine.lua

  Log Message:
  -----------
  Experimental AI: remove potential of causing errors through WML events

Events taking units off the map after the move could previously have
caused errors, and thus disabled the AI for the rest of the turn.


  Commit: 496a58d343fa194bcdffceeac99a1a98db9694ad
      https://github.com/wesnoth/wesnoth/commit/496a58d343fa194bcdffceeac99a1a98db9694ad
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-02-28 (Fri, 28 Feb 2014)

  Changed paths:
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/generic_rush_engine.lua
    M data/ai/lua/move_to_any_target.lua

  Log Message:
  -----------
  Experimental AI: use checked versions of the AI actions

So that only valid actions are executed and useful error messages are
produced if something goes wrong.


Compare: https://github.com/wesnoth/wesnoth/compare/cb86f5e868be...496a58d343fa


More information about the Commits mailing list