[Commits] [wesnoth/wesnoth] 2a3af5: battle_calcs.lua: fix bug in get_attack_map_unit()...

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


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2a3af504008fb40c4b35c496fc0e086d0a290480
      https://github.com/wesnoth/wesnoth/commit/2a3af504008fb40c4b35c496fc0e086d0a290480
  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