(svn r1892) -Fix: [ 1117730 ] Production values of temperate-climate banks can now be altered
authorcelestar
Sun, 20 Feb 2005 07:58:38 +0000
changeset 1388 4bfe9ccd4344
parent 1387 eff794048d92
child 1389 238570e5c3d3
(svn r1892) -Fix: [ 1117730 ] Production values of temperate-climate banks can now be altered
industry_gui.c
--- a/industry_gui.c	Sun Feb 20 07:47:42 2005 +0000
+++ b/industry_gui.c	Sun Feb 20 07:58:38 2005 +0000
@@ -270,7 +270,7 @@
 	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