(svn r606) -newgrf: Fixed waypoint scrollbar

This commit is contained in:
dominik
2004-11-14 18:20:40 +00:00
parent 183c33931d
commit 200d3fdbe8

View File

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