summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
committerfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
commita8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa (patch)
tree38b53a0432d536abc9dcfbbdd0b5c7c74bd55f99 /src/engine.cpp
parenta0be398da9f80ac316b2d8959ddf96345414dde2 (diff)
downloadopenttd-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.cpp2
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);