summaryrefslogtreecommitdiff
path: root/src/build_vehicle_gui.cpp
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-22 07:39:52 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit931d32f4145e36ef08b432314353ff9f058f6a08 (patch)
tree7503cca488e8d3453adeb0e69fc51a609649f1a0 /src/build_vehicle_gui.cpp
parent10ba431d21f58c707398f95b99faf3c2aac77e77 (diff)
downloadopenttd-931d32f4145e36ef08b432314353ff9f058f6a08.tar.xz
Codechange: Remove RailTypeByte type
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r--src/build_vehicle_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp
index b528d6fed..32310b9c3 100644
--- a/src/build_vehicle_gui.cpp
+++ b/src/build_vehicle_gui.cpp
@@ -1014,8 +1014,8 @@ void DisplayVehicleSortDropDown(Window *w, VehicleType vehicle_type, int selecte
struct BuildVehicleWindow : Window {
VehicleType vehicle_type; ///< Type of vehicles shown in the window.
union {
- RailTypeByte railtype; ///< Rail type to show, or #RAILTYPE_END.
- RoadTypes roadtypes; ///< Road type to show, or #ROADTYPES_ALL.
+ RailType railtype; ///< Rail type to show, or #RAILTYPE_END.
+ RoadTypes roadtypes; ///< Road type to show, or #ROADTYPES_ALL.
} filter; ///< Filter to apply.
bool descending_sort_order; ///< Sort direction, @see _engine_sort_direction
byte sort_criteria; ///< Current sort criterium.