[wesnoth-commits] [wesnoth/wesnoth] 0905ee: Fast Micro AI: fix variable name

mattsc noreply at github.com
Tue Jan 19 03:30:49 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0905ee1fe7ccd1a62800e154140ad1fb19ba17a3
      https://github.com/wesnoth/wesnoth/commit/0905ee1fe7ccd1a62800e154140ad1fb19ba17a3
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

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

  Log Message:
  -----------
  Fast Micro AI: fix variable name

This wouldn't have been an issue, if there weren't also a local variable of the same name in the evaluation function. The way it was though, it caused an error when trying to execute an attack by the AI leader.





More information about the Commits mailing list