Changeset - r9438:3632380507fe
[Not reviewed]
master
0 2 0
peter1138 - 16 years ago 2008-06-02 06:42:27
peter1138@openttd.org
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/economy.cpp
Show inline comments
 
@@ -643,7 +643,7 @@ static void AddInflation()
 
	 * 12 -> months per year
 
	 * This is only a good approxiamtion for small values
 
	 */
 
	Money inf = _economy.infl_amount * 54;
 
	int32 inf = _economy.infl_amount * 54;
 

	
 
	for (uint i = 0; i != NUM_PRICES; i++) {
 
		AddSingleInflation((Money*)&_price + i, _price_frac + i, inf);
src/economy_type.h
Show inline comments
 
@@ -18,7 +18,7 @@ struct Economy {
 
	int fluct;
 
	byte interest_rate;     ///< Interest
 
	byte infl_amount;       ///< inflation amount
 
	byte infl_amount_pr;    ///< "floating" portion of inflation
 
	byte infl_amount_pr;    ///< inflation rate for payment rates
 
};
 

	
 
struct Subsidy {
0 comments (0 inline, 0 general)