summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-02-14 19:52:26 +0000
committerplanetmaker <planetmaker@openttd.org>2011-02-14 19:52:26 +0000
commit914f8e9f1d22e1195b06d8d4723a310ea9413b16 (patch)
tree643e9f7fe75e5684851e4787b1699869cd14aede /src/economy.cpp
parent8e4b2c951d92e525873c224de93d8c2cd50f8a6b (diff)
downloadopenttd-914f8e9f1d22e1195b06d8d4723a310ea9413b16.tar.xz
(svn r22080) -Doc: Add doxygen comments to a few functions and improve a few existing comments
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 3d2a419ee..584eea7c7 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -552,6 +552,7 @@ static void CompaniesGenStatistics()
}
cur_company.Restore();
+ /* Only run the economic statics and update company stats every 3rd month (1st of quarter). */
if (!HasBit(1 << 0 | 1 << 3 | 1 << 6 | 1 << 9, _cur_month)) return;
Company *c;