mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 03:42:41 +01:00
(svn r606) -newgrf: Fixed waypoint scrollbar
This commit is contained in:
@@ -1120,7 +1120,7 @@ static const WindowDesc _build_waypoint_desc = {
|
||||
static void ShowBuildWaypointPicker()
|
||||
{
|
||||
Window *w = AllocateWindowDesc(&_build_waypoint_desc);
|
||||
w->hscroll.cap = 1;
|
||||
w->hscroll.cap = 4;
|
||||
w->hscroll.count = (uint) (_waypoint_count+3) / 4;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user