diff options
author | frosch <frosch@openttd.org> | 2012-05-26 14:16:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-26 14:16:07 +0000 |
commit | 01100053ff5308e0a07b1faa449255527cc12c31 (patch) | |
tree | 7f5bb0b41cc051cc6927dc9ed454ce74b05db362 /src/news_func.h | |
parent | a8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa (diff) | |
download | openttd-01100053ff5308e0a07b1faa449255527cc12c31.tar.xz |
(svn r24285) -Codechange: Add a more explcit NewsFlag to indicate that the first string parameter is a vehicle ID.
Diffstat (limited to 'src/news_func.h')
-rw-r--r-- | src/news_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |