mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1885 from Gymnasiast/fix-1493
Keep track list responsive in pause mode, fixes #1493
This commit is contained in:
commit
2975cb7038
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue