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

GitHub noreply at github.com
Thu May 1 01:53:07 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 74575535aa233dd9826409c4597acad7b4da82de
      https://github.com/wesnoth/wesnoth/commit/74575535aa233dd9826409c4597acad7b4da82de
  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