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

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


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 001f9ebe866c46158d7dc5e7f96a06e15da3ea50
      https://github.com/wesnoth/wesnoth/commit/001f9ebe866c46158d7dc5e7f96a06e15da3ea50
  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