summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-10 15:00:15 +0000
committerdarkvater <darkvater@openttd.org>2004-08-10 15:00:15 +0000
commit935be05e8ff0ba2e0c6d436d6e254f2fede73899 (patch)
tree25eb24988ec512b7be42b920490001dfb8c350f1 /strings.c
parent48965f84b66f33d2f03a234f690adc8831a188e6 (diff)
downloadopenttd-935be05e8ff0ba2e0c6d436d6e254f2fede73899.tar.xz
(svn r7) -Feature [1003350] Euro introduction news item. (dominik81)
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings.c b/strings.c
index d504036b4..7f81f55b2 100644
--- a/strings.c
+++ b/strings.c
@@ -3,6 +3,7 @@
#include "station.h"
#include "town.h"
#include "vehicle.h"
+#include "news.h"
#define USE_TABLE(x) { assert(index < lengthof(x)); str = x[index]; break; }
@@ -125,6 +126,7 @@ void CheckSwitchToEuro()
{
if (_cur_year >= (2002-1920) && _currency_specs[_opt.currency].flags & CF_TOEURO_2002) {
_opt.currency = 21; // this is the index of euro above.
+ AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL,0,NT_ECONOMY,0), 0, 0);
}
}