[wesnoth-commits] [wesnoth/wesnoth] b479d6: Remove tests of move_unit's count and move-unit-to...

Steve Cotton noreply at github.com
Thu Dec 12 07:53:34 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b479d6f7ac53c4fa3c4c2c7d48ab0928bccbd9d7
      https://github.com/wesnoth/wesnoth/commit/b479d6f7ac53c4fa3c4c2c7d48ab0928bccbd9d7
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

  Changed paths:
    M data/test/scenarios/test_move_unit.cfg

  Log Message:
  -----------
  Remove tests of move_unit's count and move-unit-to-its-own-hex functionality

The count is undocumented on the wiki, and it's causing the schema validation
to fail. The functionality makes sense and I hope it continues to be supported,
but for now let's have a minimal unbreak-the-build change.

Trying to move a unit to the hex occupied by itself causes it to move to a vacant
adjacent hex instead; splitting the move into two separate [move_unit] calls
passes as expected. That sounds reasonable implementation-defined behavior, but
will make a PR to discuss it.





More information about the Commits mailing list