(svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo)

This commit is contained in:
frosch 2008-11-03 19:25:52 +00:00
parent 7dd0b0dc07
commit ec4b30f9d9
1 changed files with 3 additions and 0 deletions

View File

@ -2089,6 +2089,9 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
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;
}
}
}