From 10b494d260ca14b77ff18048c02c61d6e805d824 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 2 Jun 2008 06:42:27 +0000 Subject: (svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates --- src/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/economy.cpp') 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); -- cgit v1.2.3-54-g00ecf