Fix #5741: Disappearing land/construction rights indicators

This commit is contained in:
Martin Müller 2017-10-15 15:25:01 +02:00 committed by Michael Steenbeek
parent e393ff1f22
commit ffdc854c1f
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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);
}