mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r606) -newgrf: Fixed waypoint scrollbar
This commit is contained in:
parent
183c33931d
commit
200d3fdbe8
|
@ -1120,7 +1120,7 @@ static const WindowDesc _build_waypoint_desc = {
|
||||||
static void ShowBuildWaypointPicker()
|
static void ShowBuildWaypointPicker()
|
||||||
{
|
{
|
||||||
Window *w = AllocateWindowDesc(&_build_waypoint_desc);
|
Window *w = AllocateWindowDesc(&_build_waypoint_desc);
|
||||||
w->hscroll.cap = 1;
|
w->hscroll.cap = 4;
|
||||||
w->hscroll.count = (uint) (_waypoint_count+3) / 4;
|
w->hscroll.count = (uint) (_waypoint_count+3) / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue