Fix incorrect string parameters for dispatch schedule assigned to depot

See: #368
This commit is contained in:
Jonathan G Rennison
2022-02-05 15:06:55 +00:00
parent acaf20120f
commit 1d885c462f
2 changed files with 3 additions and 2 deletions

View File

@@ -520,7 +520,8 @@ struct SchdispatchWindow : GeneralVehicleWindow {
case OT_GOTO_DEPOT:
SetDParam(1, STR_DEPOT_NAME);
SetDParam(2, order->GetDestination());
SetDParam(2, v->type);
SetDParam(3, order->GetDestination());
break;
default: