[Commits] [wesnoth/wesnoth] 299fce: fix [random_placement] distance key

GitHub noreply at github.com
Wed Aug 23 18:55:54 UTC 2017


  Branch: refs/heads/gfgtdf-patch-randomplacement
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 299fce94555997a27753a5827d8a1bc6bebd797c
      https://github.com/wesnoth/wesnoth/commit/299fce94555997a27753a5827d8a1bc6bebd797c
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-08-23 (Wed, 23 Aug 2017)

  Changed paths:
    M data/lua/wml/random_placement.lua

  Log Message:
  -----------
  fix [random_placement] distance key

currently distance=n means: 'when a location was selected remove all loctions that have distance at most n to the selected location from further results'. This imples that all remaining locations  have distance _more_ that n (instead of '_at_least_ n'). This commit fixes that.





More information about the Commits mailing list