summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-03 20:43:52 +0000
committerrubidium <rubidium@openttd.org>2007-03-03 20:43:52 +0000
commitcf47f2a856d3365cd42eaa4b5e9f5e2095586172 (patch)
tree9d93e0af27e0f9acf43336d733089fb4393c49df /src
parent2061d6af2718b5acfe7218083bd6233b5941edc8 (diff)
downloadopenttd-cf47f2a856d3365cd42eaa4b5e9f5e2095586172.tar.xz
(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".
Diffstat (limited to 'src')
-rw-r--r--src/engine_gui.cpp6
-rw-r--r--src/lang/english.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp
index 503f2dede..0975cc3d1 100644
--- a/src/engine_gui.cpp
+++ b/src/engine_gui.cpp
@@ -206,7 +206,7 @@ StringID GetNewsStringNewAircraftAvail(const NewsItem *ni)
{
EngineID engine = ni->string_id;
SetDParam(0, STR_A02C_NEW_AIRCRAFT_NOW_AVAILABLE);
- SetDParam(1, GetCustomEngineName(engine));
+ SetDParam(2, GetCustomEngineName(engine));
return STR_02B6;
}
@@ -245,7 +245,7 @@ StringID GetNewsStringNewRoadVehAvail(const NewsItem *ni)
{
EngineID engine = ni->string_id;
SetDParam(0, STR_9028_NEW_ROAD_VEHICLE_NOW_AVAILABLE);
- SetDParam(1, GetCustomEngineName(engine));
+ SetDParam(2, GetCustomEngineName(engine));
return STR_02B6;
}
@@ -283,6 +283,6 @@ StringID GetNewsStringNewShipAvail(const NewsItem *ni)
{
EngineID engine = ni->string_id;
SetDParam(0, STR_982C_NEW_SHIP_NOW_AVAILABLE);
- SetDParam(1, GetCustomEngineName(engine));
+ SetDParam(2, GetCustomEngineName(engine));
return STR_02B6;
}
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 90109bcac..8e02aa7fa 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -752,7 +752,7 @@ STR_02A3_LARGE :{BLACK}Large
STR_02A4_SELECT_TOWN_SIZE :{BLACK}Select town size
STR_02A5_TOWN_SIZE :{YELLOW}Town size:
-STR_02B6 :{STRING} - {STRING5}
+STR_02B6 :{STRING1} - {STRING5}
STR_02B7_SHOW_LAST_MESSAGE_OR_NEWS :{BLACK}Show last message or news report
STR_OFF :Off
STR_SUMMARY :Summary