Changeset - r10316:53069e500a98
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-11-03 19:25:52
frosch@openttd.org
(svn r14561) -Feature(ette)[FS#2334]: Add result 0x0F to callbacks 0x29/0x35. (Yexo)
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -2089,6 +2089,9 @@ static void ChangeIndustryProduction(Ind
 
				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;
 
			}
 
		}
 
	}
0 comments (0 inline, 0 general)