industry_gui.c
branchcustombridgeheads
changeset 5623 ef2a8a524a95
parent 5568 75f13d7bfaed
equal deleted inserted replaced
5622:2f0cb276d32a 5623:ef2a8a524a95
   378 					WP(w,vp2_d).data_3 = (x < 15 ? 1 : 2);
   378 					WP(w,vp2_d).data_3 = (x < 15 ? 1 : 2);
   379 				} else if (IS_INT_INSIDE(x, 34, 160)) {
   379 				} else if (IS_INT_INSIDE(x, 34, 160)) {
   380 					// clicked the text
   380 					// clicked the text
   381 					WP(w,vp2_d).data_1 = line;
   381 					WP(w,vp2_d).data_1 = line;
   382 					SetDParam(0, i->production_rate[line] * 8);
   382 					SetDParam(0, i->production_rate[line] * 8);
   383 					ShowQueryString(STR_CONFIG_PATCHES_INT32,
   383 					ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_CONFIG_GAME_PRODUCTION, 10, 100, w, CS_ALPHANUMERAL);
   384 							STR_CONFIG_GAME_PRODUCTION,
       
   385 							10, 100, w->window_class,
       
   386 							w->window_number, CS_ALPHANUMERAL);
       
   387 				}
   384 				}
   388 			}
   385 			}
   389 		} break;
   386 		} break;
   390 		case 6:
   387 		case 6:
   391 			i = GetIndustry(w->window_number);
   388 			i = GetIndustry(w->window_number);