From 5b02d5b1f7aca2c5f442fc58721745be31d9eaa9 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Mon, 15 Sep 2014 21:42:49 +0100 Subject: [PATCH] Fixes unselectable fifth row. Fix #431. --- src/window_new_ride.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_new_ride.c b/src/window_new_ride.c index 0c8585f1ab..b643b3c6a9 100644 --- a/src/window_new_ride.c +++ b/src/window_new_ride.c @@ -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);