(svn r3588) - Refit: Use only one global to return the refit capacity rather than one per vehicle type.

This commit is contained in:
peter1138
2006-02-11 09:24:51 +00:00
parent 6d855f3a53
commit f9b4537228
6 changed files with 5 additions and 6 deletions

View File

@@ -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);
}
}