(svn r5188) - NewGRF: check refit capacity callback when refitting a ship

This commit is contained in:
2006-06-09 07:09:48 +00:00
parent d6ebfb8338
commit 19d14b474e
2 changed files with 24 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ static void ShipRefitWndProc(Window *w, WindowEvent *e)
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);
}
}