mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Merge pull request #439 from duncanspumpkin/fix_431
Fixes unselectable fifth row. Fix #431.
This commit is contained in:
@@ -870,7 +870,7 @@ static ride_list_item window_new_ride_scroll_get_ride_list_item_at(rct_window *w
|
||||
|
||||
int column = x / 116;
|
||||
int row = y / 116;
|
||||
if (row >= 5)
|
||||
if (column >= 5)
|
||||
return result;
|
||||
|
||||
int index = column + (row * 5);
|
||||
|
||||
Reference in New Issue
Block a user