File diff r10315:480d8227cc53 → r10316:53069e500a98
src/industry_cmd.cpp
Show inline comments
 
@@ -2086,12 +2086,15 @@ static void ChangeIndustryProduction(Ind
 
				case 0x9: case 0xA: case 0xB:     // Multiply production by 4, 8, 16
 
				case 0xC: mul = res - 0x7; break; // Multiply production by 32
 
				case 0xD:                         // decrement production
 
				case 0xE:                         // increment production
 
					increment = res == 0x0D ? -1 : 1;
 
					break;
 
				case 0xF:                         // Set production to higher word of register 0x100
 
					i->prod_level = Clamp(GB(GetRegister(0x100), 16, 16), PRODLEVEL_MINIMUM, PRODLEVEL_MAXIMUM);
 
					break;
 
			}
 
		}
 
	}
 

	
 
	if (standard && monthly != smooth_economy) return;