[wesnoth-commits] [wesnoth/wesnoth] 551357: Fix an off-by-one in mapgen's x and y filters, and...

Steve Cotton noreply at github.com
Wed Sep 1 13:48:45 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 551357f48b23e3d28cb938cdac9e5c7b09f37745
      https://github.com/wesnoth/wesnoth/commit/551357f48b23e3d28cb938cdac9e5c7b09f37745
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    A data/test/scenarios/lua_map_find.cfg
    A data/test/scenarios/mapgen_filter.cfg
    M src/scripting/lua_terrainfilter.cpp
    M wml_test_schedule

  Log Message:
  -----------
  Fix an off-by-one in mapgen's x and y filters, and add unit tests

Fixes the currently suspected root cause of #5108, but requires further testing
to confirm that it fixes that issue.

Closes #6501 (the question of how to test the mapgen filter).

(cherry picked from commit 30f50bac681fda1566f5cee5aad7be6b65cb0fdb)





More information about the Commits mailing list