Keep track list responsive in pause mode, fixes #1493

This commit is contained in:
Gymnasiast 2015-09-03 12:12:21 +02:00
parent 8c2d0b3730
commit d849e3378c
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) {