Fixes unselectable fifth row. Fix #431.

This commit is contained in:
Duncan Frost 2014-09-15 21:42:49 +01:00
parent 830f511a72
commit 5b02d5b1f7
1 changed files with 1 additions and 1 deletions

View File

@ -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);