[Commits] [wesnoth/wesnoth] 664eea: battle_calcs.lua: fix bug in get_attack_map_unit()...

GitHub noreply at github.com
Thu Apr 24 01:48:50 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 664eeae888cc6de33203d15df741e676dd4a44e5
      https://github.com/wesnoth/wesnoth/commit/664eeae888cc6de33203d15df741e676dd4a44e5
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

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

  Log Message:
  -----------
  battle_calcs.lua: fix bug in get_attack_map_unit() for enemy units

Own units with MP left need to be taken off the map before enemy path
finding, not just added to the table.





More information about the Commits mailing list