summaryrefslogtreecommitdiff
path: root/industry_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-02-20 07:58:38 +0000
committercelestar <celestar@openttd.org>2005-02-20 07:58:38 +0000
commitae2cfeefe3572fbdc0e95cb1ca38cb7122d81930 (patch)
tree36a0a3789b089f213da766936d2084b9194b8741 /industry_gui.c
parentd06f52a7f029b05bff96c70a1561761dc68412fb (diff)
downloadopenttd-ae2cfeefe3572fbdc0e95cb1ca38cb7122d81930.tar.xz
(svn r1892) -Fix: [ 1117730 ] Production values of temperate-climate banks can now be altered
Diffstat (limited to 'industry_gui.c')
-rw-r--r--industry_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_gui.c b/industry_gui.c
index 1a02aeb18..fcb85dd33 100644
--- a/industry_gui.c
+++ b/industry_gui.c
@@ -270,7 +270,7 @@ void ShowBuildIndustryWindow(void)
AllocateWindowDescFront(_industry_window_desc[_patches.build_rawmaterial_ind][_opt.landscape],0);
}
-#define NEED_ALTERB ((_game_mode == GM_EDITOR || _cheats.setup_prod.value) && i->accepts_cargo[0] == CT_INVALID)
+#define NEED_ALTERB ((_game_mode == GM_EDITOR || _cheats.setup_prod.value) && (i->accepts_cargo[0] == CT_INVALID || i->accepts_cargo[0] == CT_VALUABLES))
static void IndustryViewWndProc(Window *w, WindowEvent *e)
{
// WP(w,vp2_d).data_1 is for the editbox line