From 587d8e716b83050dab52da831afb9286589880ae Mon Sep 17 00:00:00 2001 From: Yexo Date: Tue, 19 May 2020 20:01:09 +0200 Subject: Fix #8155: Roadtype speed limit in toolbar dropdown in scenario editor was doubled --- src/road_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 45ab0f6f8..4c6e9df86 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -1359,7 +1359,7 @@ DropDownList GetScenRoadTypeDropDownList(RoadTramTypes rtts) DropDownListIconItem *item = new DropDownListIconItem(rti->gui_sprites.build_x_road, PAL_NONE, str, rt, !HasBit(avail_roadtypes, rt)); item->SetDimension(d); item->SetParam(0, rti->strings.menu_text); - item->SetParam(1, rti->max_speed); + item->SetParam(1, rti->max_speed / 2); list.emplace_back(item); } -- cgit v1.2.3-70-g09d2