summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
committerfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
commita8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa (patch)
tree38b53a0432d536abc9dcfbbdd0b5c7c74bd55f99 /src/economy.cpp
parenta0be398da9f80ac316b2d8959ddf96345414dde2 (diff)
downloadopenttd-a8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa.tar.xz
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index f65dbcf92..66972b862 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -792,10 +792,10 @@ static void HandleEconomyFluctuations()
if (_economy.fluct == 0) {
_economy.fluct = -(int)GB(Random(), 0, 2);
- AddNewsItem(STR_NEWS_BEGIN_OF_RECESSION, NS_ECONOMY);
+ AddNewsItem(STR_NEWS_BEGIN_OF_RECESSION, NT_ECONOMY, NF_NORMAL);
} else if (_economy.fluct == -12) {
_economy.fluct = GB(Random(), 0, 8) + 312;
- AddNewsItem(STR_NEWS_END_OF_RECESSION, NS_ECONOMY);
+ AddNewsItem(STR_NEWS_END_OF_RECESSION, NT_ECONOMY, NF_NORMAL);
}
}