mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive".
This commit is contained in:
parent
2061d6af27
commit
cf47f2a856
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue