summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-11 09:24:51 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-11 09:24:51 +0000
commit6f5f3101b6e785b88de2470babdb3b5a1a61f054 (patch)
treeeaea322e6b750f6731f87421a6ea3798e790f93e /aircraft_gui.c
parent1097ec2b62fd1f873cf055794123dd8067278d56 (diff)
downloadopenttd-6f5f3101b6e785b88de2470babdb3b5a1a61f054.tar.xz
(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r--aircraft_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 607fa3d2e..249b66cff 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -249,7 +249,7 @@ static void AircraftRefitWndProc(Window *w, WindowEvent *e)
if (!CmdFailed(cost)) {
SetDParam(2, cost);
SetDParam(0, _cargoc.names_long[WP(w,refit_d).cargo]);
- SetDParam(1, _aircraft_refit_capacity);
+ SetDParam(1, _returned_refit_capacity);
DrawString(1, 147, STR_A041_NEW_CAPACITY_COST_OF_REFIT, 0);
}
}