diff options
Diffstat (limited to 'build_vehicle_gui.c')
-rw-r--r-- | build_vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_vehicle_gui.c b/build_vehicle_gui.c index 002e69429..ce7f91a83 100644 --- a/build_vehicle_gui.c +++ b/build_vehicle_gui.c @@ -231,7 +231,7 @@ void DrawAircraftPurchaseInfo(int x, int y, EngineID engine_number) } else { /* Note, if the default capacity is selected by the refit capacity * callback, then the capacity shown is likely to be incorrect. */ - SetDParam(0, _cargoc.names_long[cargo]); + SetDParam(0, cargo); SetDParam(1, AircraftDefaultCargoCapacity(cargo, engine_number)); SetDParam(2, STR_9842_REFITTABLE); DrawString(x, y, STR_PURCHASE_INFO_CAPACITY, 0); |