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

Steve Cotton noreply at github.com
Tue Aug 31 23:21:17 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 30f50bac681fda1566f5cee5aad7be6b65cb0fdb
      https://github.com/wesnoth/wesnoth/commit/30f50bac681fda1566f5cee5aad7be6b65cb0fdb
  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).





More information about the Commits mailing list