summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/economy.cpp2
-rw-r--r--src/economy_type.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 03a15ab25..5a913fb39 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -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);
diff --git a/src/economy_type.h b/src/economy_type.h
index 02b515ce4..ae00296ea 100644
--- a/src/economy_type.h
+++ b/src/economy_type.h
@@ -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 {