[wesnoth-commits] [wesnoth/wesnoth] bf3cde: AToTB S2: fix AI bug when Muff Toras has no move

mattsc noreply at github.com
Thu Dec 3 01:36:15 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bf3cdeb1793f5809be1ca104cd3a13c6ee8b4b50
      https://github.com/wesnoth/wesnoth/commit/bf3cdeb1793f5809be1ca104cd3a13c6ee8b4b50
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M data/campaigns/Two_Brothers/ai/ca_muff_toras_move.lua

  Log Message:
  -----------
  AToTB S2: fix AI bug when Muff Toras has no move

This was caused by a change in the return value of ai_helper.find_best_move() when no move is found.

Fixes #5316





More information about the Commits mailing list