[Commits] [wesnoth/wesnoth] a017e5: Coward MAI: remove unnecessary condition

GitHub noreply at github.com
Sun Mar 30 00:20:01 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a017e584f23ded0f4b27bdc4f2b08c39b07116a5
      https://github.com/wesnoth/wesnoth/commit/a017e584f23ded0f4b27bdc4f2b08c39b07116a5
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-29 (Sat, 29 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_coward.lua

  Log Message:
  -----------
  Coward MAI: remove unnecessary condition

ai_helper.movefull_stopunit takes care of this internally.


  Commit: f03c6052d036ceb829531d08f0127cbbcda49a98
      https://github.com/wesnoth/wesnoth/commit/f03c6052d036ceb829531d08f0127cbbcda49a98
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-29 (Sat, 29 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_return_guardian.lua

  Log Message:
  -----------
  Return guardian MAI: remove unnecessary condition

We can never get to this point in the code if the unit does not have
moves.


  Commit: 0fd45763a95b425e2e2e2f3c0fe6701699c2b02a
      https://github.com/wesnoth/wesnoth/commit/0fd45763a95b425e2e2e2f3c0fe6701699c2b02a
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-29 (Sat, 29 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_healer_move.lua

  Log Message:
  -----------
  MAIs: test for unit equality directly, not via coordinates


Compare: https://github.com/wesnoth/wesnoth/compare/89192cef8234...0fd45763a95b


More information about the Commits mailing list