diff options
Diffstat (limited to 'src/news_func.h')
-rw-r--r-- | src/news_func.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/news_func.h b/src/news_func.h index e28f446a5..239e787b3 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -44,6 +44,11 @@ static inline void AddVehicleAdviceNewsItem(StringID string, VehicleID vehicle) AddNewsItem(string, NS_ADVICE, NR_VEHICLE, vehicle); } +static inline void AddTileNewsItem(StringID string, NewsSubtype subtype, TileIndex tile, void *free_data = NULL) +{ + AddNewsItem(string, subtype, NR_TILE, tile, NR_NONE, UINT32_MAX, free_data); +} + static inline void AddIndustryNewsItem(StringID string, NewsSubtype subtype, IndustryID industry) { AddNewsItem(string, subtype, NR_INDUSTRY, industry); |