diff options
author | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-15 13:39:36 +0000 |
commit | 373343cef606e940bfc99aa813cd05d36b15cb45 (patch) | |
tree | dbf82a81f389a63eb11a06152870ba44cc07d456 /src/news_func.h | |
parent | c709b8a711039a12c4e105e9ec9c768f20cbf4a8 (diff) | |
download | openttd-373343cef606e940bfc99aa813cd05d36b15cb45.tar.xz |
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
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 5ccbbef4d..c43030375 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -8,7 +8,7 @@ #include "news_type.h" #include "vehicle_type.h" -void AddNewsItem(StringID string, NewsMode mode, NewsFlag flag, NewsType type, NewsCallback callback, uint data_a, uint data_b); +void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b); void NewsLoop(); void DrawNewsBorder(const Window *w); void InitNewsItemStructs(); |