diff options
author | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
commit | 373343cef606e940bfc99aa813cd05d36b15cb45 (patch) | |
tree | dbf82a81f389a63eb11a06152870ba44cc07d456 /src/currency.cpp | |
parent | c709b8a711039a12c4e105e9ec9c768f20cbf4a8 (diff) | |
download | openttd-373343cef606e940bfc99aa813cd05d36b15cb45.tar.xz |
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
Diffstat (limited to 'src/currency.cpp')
-rw-r--r-- | src/currency.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/currency.cpp b/src/currency.cpp index 816dbe7c4..b26de04bb 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -154,7 +154,7 @@ void CheckSwitchToEuro() _currency_specs[_opt.currency].to_euro != CF_ISEURO && _cur_year >= _currency_specs[_opt.currency].to_euro) { _opt.currency = 2; // this is the index of euro above. - AddNewsItem(STR_EURO_INTRODUCE, NM_NORMAL, NF_NONE, NT_ECONOMY, DNC_NONE, 0, 0); + AddNewsItem(STR_EURO_INTRODUCE, NS_ECONOMY, 0, 0); } } |