Merge pull request #1885 from Gymnasiast/fix-1493

Keep track list responsive in pause mode, fixes #1493
This commit is contained in:
Ted John 2015-09-03 11:56:14 +01:00
commit 2975cb7038
1 changed files with 0 additions and 5 deletions

View File

@ -298,9 +298,6 @@ static void window_track_list_scrollmousedown(rct_window *w, int scrollIndex, in
if (w->track_list.var_484 & 1)
return;
// Made it impossible to click a design in pause mode. Since the UI now stays responsive in pause mode, always allow clicking a design.
/*if (RCT2_GLOBAL(RCT2_ADDRESS_GAME_PAUSED, uint8) != 0)
return;*/
i = window_track_list_get_list_item_index_from_position(x, y);
if (i != -1)
@ -317,8 +314,6 @@ static void window_track_list_scrollmouseover(rct_window *w, int scrollIndex, in
if (w->track_list.var_484 & 1)
return;
if (RCT2_GLOBAL(RCT2_ADDRESS_GAME_PAUSED, uint8) != 0)
return;
i = window_track_list_get_list_item_index_from_position(x, y);
if (i != -1 && w->track_list.var_482 != i) {