[wesnoth-commits] [wesnoth/wesnoth] a666a3: ai_helper.next_hop: fix bug in fan-out code

mattsc noreply at github.com
Wed Jul 8 03:14:59 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a666a34055b36a88dab2bcdbcd6119684ba67b9b
      https://github.com/wesnoth/wesnoth/commit/a666a34055b36a88dab2bcdbcd6119684ba67b9b
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M data/ai/lua/ai_helper.lua

  Log Message:
  -----------
  ai_helper.next_hop: fix bug in fan-out code

This fixes the case when the unit cannot reach the previously found next_hop location from the ideal next_hop location in the part of the code that tries to keep units from moving in single file.





More information about the Commits mailing list