ship_gui.c
changeset 3989 a5d50d90fd21
parent 3961 e2783f244ac6
child 4000 bab1ebc37da0
--- a/ship_gui.c	Fri Jun 09 07:03:53 2006 +0000
+++ b/ship_gui.c	Fri Jun 09 07:09:48 2006 +0000
@@ -93,7 +93,7 @@
 			if (!CmdFailed(cost)) {
 				SetDParam(2, cost);
 				SetDParam(0, _cargoc.names_long[WP(w,refit_d).cargo]);
-				SetDParam(1, v->cargo_cap);
+				SetDParam(1, _returned_refit_capacity);
 				DrawString(1, 137, STR_9840_NEW_CAPACITY_COST_OF_REFIT, 0);
 			}
 		}