Fix depot ctrl-right-click tooltip with multiple cargoes

See: #616
This commit is contained in:
Jonathan G Rennison
2023-12-06 20:18:26 +00:00
parent 6ccd097d94
commit e03b998c41

View File

@@ -885,7 +885,7 @@ struct DepotWindow : Window {
SetDParam(1, loaded[cargo_type]); // {CARGO} #2 SetDParam(1, loaded[cargo_type]); // {CARGO} #2
SetDParam(2, cargo_type); // {SHORTCARGO} #1 SetDParam(2, cargo_type); // {SHORTCARGO} #1
SetDParam(3, capacity[cargo_type]); // {SHORTCARGO} #2 SetDParam(3, capacity[cargo_type]); // {SHORTCARGO} #2
details = GetString(STR_DEPOT_VEHICLE_TOOLTIP_CARGO); details += GetString(STR_DEPOT_VEHICLE_TOOLTIP_CARGO);
} }
/* Show tooltip window */ /* Show tooltip window */