freeciv21
freeciv21 copied to clipboard
Goto path doesn't redraw when setting and removing waypoints
Describe the bug When you set a goto waypoint (using the goto keybind again on a tile after going into goto mode) or remove it (using Esc), the path doesn't get redrawn, and therefore doesn't show the new waypoint/removed waypoint. It only redraws after moving the mouse.
To Reproduce Steps to reproduce the behavior:
- Select any unit
- Set a waypoint on any tile
- Don't move the mouse after setting the waypoint
- Observe the waypoint isn't visible
- Move the mouse to another tile to force a path redraw
- Observe the waypoint appears
Expected behavior The path should be redrawn when adding and removing waypoints
Platform and version (please complete the following information):
- OS: Windows 10
- Freeciv21 version: latest master (db195f5)
- Ruleset/Longturn game (if applicable): not applicable
Additional context No additional context