1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
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:
Duncan Frost
2015-05-19 18:04:58 +01:00
parent 3008d56851
commit b681c98505

View File

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