[wesnoth-commits] [wesnoth/wesnoth] 1ec140: move_leader_to_keep CA: prevent error message

mattsc noreply at github.com
Sat Feb 20 03:52:14 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1ec1405f95f8d2efd00a1d9b435d24f795ca85c3
      https://github.com/wesnoth/wesnoth/commit/1ec1405f95f8d2efd00a1d9b435d24f795ca85c3
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M src/ai/default/ca.cpp

  Log Message:
  -----------
  move_leader_to_keep CA: prevent error message

Previously, trying to move the leader toward an occupied keep hex caused an E_NOT_REACHED_DESTINATION error.

Fixes #5345





More information about the Commits mailing list