Fix #17657: Grid disappears when buying land rights (#17793)

This commit is contained in:
Henry Cheng authored and GitHub committed 2022-10-25 19:46:31 +00:00
1 parent 23a8914de7
commit 93cdfbf26a
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
- Change: [#18381] Convert custom invisible paths to the built-in ones.
- Fix: [#14312] Research ride type message incorrect.
- Fix: [#17316] Sides of River Rapids’ corners overlay other parts of the track.
- Fix: [#17657] When switching from buying land rights to buying construction rights, grid disables and won't re-enable afterwards.
- Fix: [#17763] Missing validation on invalid characters in file name.
- Fix: [#17853] Invention name tears while being dragged.
- Fix: [#18064] Unable to dismiss notification messages.
+1 -1
View File
@@ -80,6 +80,7 @@ public:
void OnClose() override
{
hide_gridlines();
if (gLandRemainingConstructionSales == 0)
{
hide_construction_rights();
@@ -318,7 +319,6 @@ public:
void OnToolAbort(WidgetIndex widgetIndex) override
{
hide_gridlines();
if (_landRightsMode == LAND_RIGHTS_MODE_BUY_LAND)
{
hide_land_rights();