[wesnoth-commits] [wesnoth/wesnoth] c6a3e1: fixup! UI: Highlight enemy units in "Show Enemy Mo...

jostephd noreply at github.com
Tue Mar 5 21:07:30 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c6a3e16f81a54a1787dcd67d5b2919607df6583d
      https://github.com/wesnoth/wesnoth/commit/c6a3e16f81a54a1787dcd67d5b2919607df6583d
  Author: josteph <josteph at fastmail.com>
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
    M src/menu_events.cpp

  Log Message:
  -----------
  fixup! UI: Highlight enemy units in "Show Enemy Moves" mode (#3961)

In the test scenario, highlighting (26,12), pressing Ctrl+V,
highlighting (25,12), and pressing Ctrl+V again refreshed highlighting
of the Ghost but not of the Elvish Sharpshooter.  It was similar
with the enemy leaders in the first scenarios of AToTB and AOI.
I haven't figured out exactly why, but invalidating the units' hexes
like toggleellipse does seems to fix it.





More information about the Commits mailing list