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

GitHub noreply at github.com
Sun Mar 30 00:22:24 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bf85bd5667c3a573260809cbafe386528e68eef6
      https://github.com/wesnoth/wesnoth/commit/bf85bd5667c3a573260809cbafe386528e68eef6
  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: 4b033e68f95b9ec2b06ddc4286e55280d4471f87
      https://github.com/wesnoth/wesnoth/commit/4b033e68f95b9ec2b06ddc4286e55280d4471f87
  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: 1b02de8bb7ee4875c76377dcc3418b104a2d510a
      https://github.com/wesnoth/wesnoth/commit/1b02de8bb7ee4875c76377dcc3418b104a2d510a
  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/8671ed12977b...1b02de8bb7ee


More information about the Commits mailing list