[Commits] [wesnoth/wesnoth] 6f84e1: Hang Out MAI: bug fix in best move selection

GitHub noreply at github.com
Thu May 1 01:52:06 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6f84e14b89b3f23e9de73c8f12373c9d267cdb7f
      https://github.com/wesnoth/wesnoth/commit/6f84e14b89b3f23e9de73c8f12373c9d267cdb7f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-04-30 (Wed, 30 Apr 2014)

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

  Log Message:
  -----------
  Hang Out MAI: bug fix in best move selection

In rare cases (when the unit has no hexes to move to, not even the one
it is on because it is in a zone to be avoided), this would cause an
error and crash the AI.





More information about the Commits mailing list