Changeset - r4192:d0f4ca4267ed
[Not reviewed]
master
0 1 0
Darkvater - 18 years ago 2006-07-30 14:53:59
darkvater@openttd.org
(svn r5652) -Fix [SF 1480301]: Industry production change button doesn't work
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
industry_gui.c
Show inline comments
 
@@ -345,7 +345,7 @@ static void IndustryViewWndProc(Window *
 

	
 
			x = e->click.pt.x;
 
			line = (e->click.pt.y - 127) / 10;
 
			if (e->click.pt.y >= 127 && IS_INT_INSIDE(line, 0, 2) && i->produced_cargo[line]) {
 
			if (e->click.pt.y >= 127 && IS_INT_INSIDE(line, 0, 2) && i->produced_cargo[line] != CT_INVALID) {
 
				if (IS_INT_INSIDE(x, 5, 25) ) {
 
					// clicked buttons
 
					if (x < 15) {
0 comments (0 inline, 0 general)