diff options
author | frosch <frosch@openttd.org> | 2012-05-26 14:16:03 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-26 14:16:03 +0000 |
commit | a8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa (patch) | |
tree | 38b53a0432d536abc9dcfbbdd0b5c7c74bd55f99 /src/engine.cpp | |
parent | a0be398da9f80ac316b2d8959ddf96345414dde2 (diff) | |
download | openttd-a8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa.tar.xz |
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 63f391d22..1500b9d89 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -893,7 +893,7 @@ static void NewVehicleAvailable(Engine *e) SetDParam(0, GetEngineCategoryName(index)); SetDParam(1, index); - AddNewsItem(STR_NEWS_NEW_VEHICLE_NOW_AVAILABLE_WITH_TYPE, NS_NEW_VEHICLES, NR_ENGINE, index); + AddNewsItem(STR_NEWS_NEW_VEHICLE_NOW_AVAILABLE_WITH_TYPE, NT_NEW_VEHICLES, NF_VEHICLE, NR_ENGINE, index); /* Update the toolbar. */ if (e->type == VEH_ROAD) InvalidateWindowData(WC_BUILD_TOOLBAR, TRANSPORT_ROAD); |