src/industry_cmd.cpp
changeset 10316 37b1ccb862b9
parent 10236 50afe9dd466e
child 10317 a904407b644f
equal deleted inserted replaced
10315:b3c652b3a316 10316:37b1ccb862b9
  2087 				case 0xC: mul = res - 0x7; break; // Multiply production by 32
  2087 				case 0xC: mul = res - 0x7; break; // Multiply production by 32
  2088 				case 0xD:                         // decrement production
  2088 				case 0xD:                         // decrement production
  2089 				case 0xE:                         // increment production
  2089 				case 0xE:                         // increment production
  2090 					increment = res == 0x0D ? -1 : 1;
  2090 					increment = res == 0x0D ? -1 : 1;
  2091 					break;
  2091 					break;
       
  2092 				case 0xF:                         // Set production to higher word of register 0x100
       
  2093 					i->prod_level = Clamp(GB(GetRegister(0x100), 16, 16), PRODLEVEL_MINIMUM, PRODLEVEL_MAXIMUM);
       
  2094 					break;
  2092 			}
  2095 			}
  2093 		}
  2096 		}
  2094 	}
  2097 	}
  2095 
  2098 
  2096 	if (standard && monthly != smooth_economy) return;
  2099 	if (standard && monthly != smooth_economy) return;