From ffdc854c1ff01c6c7bf515f7053c142c2341acbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 15 Oct 2017 15:25:01 +0200 Subject: [PATCH] Fix #5741: Disappearing land/construction rights indicators --- distribution/changelog.txt | 3 ++- src/openrct2-ui/windows/LandRights.cpp | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index e22d5657f6..fd8bb0cdfa 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -20,7 +20,8 @@ - Fix: [#4991] Inverted helices can be built on the Lay Down RC, but are not drawn. - Fix: [#5417] Hacked Crooked House tracked rides do not dispatch vehicles. - Fix: [#5445] Patrol area not imported from RCT1 saves and scenarios. -- Fix: [#5609] Vehicle switching may cause '0 cars per train' to be set +- Fix: [#5609] Vehicle switching may cause '0 cars per train' to be set. +- Fix: [#5741] Land rights indicators disappear when switching views. - Fix: [#5788] Empty scenario names cause invisible entries in scenario list. - Fix: [#6101] Rides remain in ride list window briefly after demolition. - Fix: [#6115] Random title screen music not random on launch. diff --git a/src/openrct2-ui/windows/LandRights.cpp b/src/openrct2-ui/windows/LandRights.cpp index 8e355ab0b1..7caf840438 100644 --- a/src/openrct2-ui/windows/LandRights.cpp +++ b/src/openrct2-ui/windows/LandRights.cpp @@ -162,7 +162,6 @@ static void window_land_rights_mouseup(rct_window *w, rct_widgetindex widgetInde { tool_set(w, WIDX_BUY_LAND_RIGHTS, TOOL_UP_ARROW); _landRightsMode = LAND_RIGHTS_MODE_BUY_LAND; - hide_construction_rights(); show_land_rights(); window_invalidate(w); } @@ -172,7 +171,6 @@ static void window_land_rights_mouseup(rct_window *w, rct_widgetindex widgetInde { tool_set(w, WIDX_BUY_CONSTRUCTION_RIGHTS, TOOL_UP_ARROW); _landRightsMode = LAND_RIGHTS_MODE_BUY_CONSTRUCTION_RIGHTS; - hide_land_rights(); show_construction_rights(); window_invalidate(w); }