diff options
author | frosch <frosch@openttd.org> | 2012-05-26 14:15:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-26 14:15:46 +0000 |
commit | c796801c4d6c87c554e84312b1c3afd866e0e49c (patch) | |
tree | 591a8966fdacb5f7025b7fe0fb2f4b7094e30dbe /src/news_func.h | |
parent | 806e5f33d4daa7d571af580b6f8bf5897e7a5b0b (diff) | |
download | openttd-c796801c4d6c87c554e84312b1c3afd866e0e49c.tar.xz |
(svn r24281) -Cleanup: Merge all company news subtypes into a single one; they all behave the same.
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); } /** |