mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix #1099.
The middle news item was not being reset to empty as news update is not called when there is no news. Added in a reset when opening the bottom toolbar.
This commit is contained in:
@@ -150,6 +150,10 @@ void window_game_bottom_toolbar_open()
|
||||
window->frame_no = 0;
|
||||
window_init_scroll_widgets(window);
|
||||
|
||||
// Reset the middle widget to not show by default.
|
||||
// If it is required to be shown news_update will reshow it.
|
||||
window_game_bottom_toolbar_widgets[WIDX_MIDDLE_OUTSET].type = WWT_EMPTY;
|
||||
|
||||
if(!gConfigInterface.rct1_colour_scheme)
|
||||
{
|
||||
window->colours[0] = 140;
|
||||
|
||||
Reference in New Issue
Block a user