diff --git a/src/order_gui.cpp b/src/order_gui.cpp --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -248,7 +248,7 @@ void DrawOrderString(const Vehicle *v, c if (!timetable && order->IsRefit()) { SetDParam(6, (order->GetDepotActionType() & ODATFB_HALT) ? STR_REFIT_STOP_ORDER : STR_REFIT_ORDER); - SetDParam(7, GetCargo(order->GetRefitCargo())->name); + SetDParam(7, CargoSpec::Get(order->GetRefitCargo())->name); } break;