diff options
Diffstat (limited to 'src/news_func.h')
-rw-r--r-- | src/news_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_func.h b/src/news_func.h index 4ee7ae000..542a307e4 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -19,9 +19,9 @@ void AddNewsItem(StringID string, NewsSubtype subtype, NewsReferenceType reftype1 = NR_NONE, uint32 ref1 = UINT32_MAX, NewsReferenceType reftype2 = NR_NONE, uint32 ref2 = UINT32_MAX, void *free_data = NULL); -static inline void AddCompanyNewsItem(StringID string, NewsSubtype subtype, CompanyNewsInformation *cni) +static inline void AddCompanyNewsItem(StringID string, CompanyNewsInformation *cni) { - AddNewsItem(string, subtype, NR_NONE, UINT32_MAX, NR_NONE, UINT32_MAX, cni); + AddNewsItem(string, NS_COMPANY_INFO, NR_NONE, UINT32_MAX, NR_NONE, UINT32_MAX, cni); } /** |