From 01100053ff5308e0a07b1faa449255527cc12c31 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 26 May 2012 14:16:07 +0000 Subject: (svn r24285) -Codechange: Add a more explcit NewsFlag to indicate that the first string parameter is a vehicle ID. --- src/news_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/news_func.h') diff --git a/src/news_func.h b/src/news_func.h index b825c686f..f218db363 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -41,7 +41,7 @@ static inline void AddVehicleNewsItem(StringID string, NewsType type, VehicleID */ static inline void AddVehicleAdviceNewsItem(StringID string, VehicleID vehicle) { - AddNewsItem(string, NT_ADVICE, NF_INCOLOUR | NF_SMALL, NR_VEHICLE, vehicle); + AddNewsItem(string, NT_ADVICE, NF_INCOLOUR | NF_SMALL | NF_VEHICLE_PARAM0, NR_VEHICLE, vehicle); } static inline void AddTileNewsItem(StringID string, NewsType type, TileIndex tile, void *free_data = NULL) -- cgit v1.2.3-54-g00ecf