fix scroll flags not reset bug

This commit is contained in:
IntelOrca 2014-09-21 11:31:13 +01:00
parent 456e3983ce
commit f60b4d8f62
1 changed files with 1 additions and 0 deletions

View File

@ -720,6 +720,7 @@ void window_init_scroll_widgets(rct_window *w)
}
scroll = &w->scrolls[scroll_index];
scroll->flags = 0;
window_get_scroll_size(w, scroll_index, &width, &height);
scroll->h_left = 0;
scroll->h_right = width + 1;