summaryrefslogtreecommitdiff
path: root/train_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 /train_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 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index ede95848c..68d06179e 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -819,7 +819,7 @@ static void RailVehicleRefitWndProc(Window *w, WindowEvent *e)
if (!CmdFailed(cost)) {
SetDParam(2, cost);
SetDParam(0, _cargoc.names_long[WP(w,refit_d).cargo]);
- SetDParam(1, _returned_refit_amount);
+ SetDParam(1, _returned_refit_capacity);
DrawString(1, 137, STR_9840_NEW_CAPACITY_COST_OF_REFIT, 0);
}
}