diff options
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index d2e262666..6ccc7ce79 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -800,7 +800,7 @@ struct VehicleListWindow : public Window, public VehicleListBase { } break; - case VLM_WAYPOINT_LIST: + case VLW_WAYPOINT_LIST: this->widget[VLW_WIDGET_CAPTION].data = STR_WAYPOINT_VIEWPORT; break; @@ -899,7 +899,7 @@ struct VehicleListWindow : public Window, public VehicleListBase { SetDParam(1, this->vscroll.count); break; - case VLM_WAYPOINT_LIST: + case VLW_WAYPOINT_LIST: SetDParam(0, index); break; @@ -1180,7 +1180,7 @@ void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type) void ShowVehicleListWindow(const Waypoint *wp) { if (wp == NULL) return; - ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLM_WAYPOINT_LIST, VEH_TRAIN, wp->index); + ShowVehicleListWindowLocal(GetTileOwner(wp->xy), VLW_WAYPOINT_LIST, VEH_TRAIN, wp->index); } void ShowVehicleListWindow(const Vehicle *v) |