diff options
author | peter1138 <peter1138@openttd.org> | 2006-06-09 07:09:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-06-09 07:09:48 +0000 |
commit | 19d14b474e13add081087f3f67c7caae73fb9645 (patch) | |
tree | 0798eb9e8efb8c19041d1dbfaef95fdffd665533 /ship_gui.c | |
parent | d6ebfb8338dcd1d7c5a9543068c43c60dfc60601 (diff) | |
download | openttd-19d14b474e13add081087f3f67c7caae73fb9645.tar.xz |
(svn r5188) - NewGRF: check refit capacity callback when refitting a ship
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c index 2c156ee4d..6b78ecc41 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -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); } } |