[Commits] [wesnoth/wesnoth] 149193: Random Recruit Micro AI: fix bug with custom castl...

GitHub noreply at github.com
Thu Jun 19 16:33:24 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1491934224f1e36eb1e87cff4d05047b06330557
      https://github.com/wesnoth/wesnoth/commit/1491934224f1e36eb1e87cff4d05047b06330557
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-06-19 (Thu, 19 Jun 2014)

  Changed paths:
    M changelog
    M data/ai/micro_ais/cas/ca_recruit_random.lua

  Log Message:
  -----------
  Random Recruit Micro AI: fix bug with custom castle terrain

Previously, only terrain with C or K in the terrain code passed the
SLF.  Now we check whether the hex is a castle instead, independent of
the terrain code.





More information about the Commits mailing list