Overwrites default interface signs
Bug #289439 reported by
Luke Clerget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Civ4 Strategy Overlay |
Fix Committed
|
Medium
|
Luke Clerget |
Bug Description
Need to fix the sign adding/removing code so that it takes into account any signs the default ui has placed. Keep a copy of default ui signs in memory on opening and replace them when closing is most likely the best solution.
Changed in civ4stratoverlay: | |
assignee: | nobody → delassa |
importance: | Undecided → Medium |
Changed in civ4stratoverlay: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Default UI signs are kept separate and saved/loaded when screen is opened/closed.
When screen is opened, if a overlay sign exists in the same plot, the default UI one is hidden and the overlay one is displayed.
If a overlay sign doesn't exist in the same plot as a default ui sign, the default ui sign is left alone.
Using default UI functions to add signs while the screen is open redirects the input to the overlay and signs are added there.