forked from mirror/OpenTTD
(svn r1201) -Fix: I forgot to add a * in r1183 ;)
This commit is contained in:
@@ -234,7 +234,7 @@ void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b)
|
||||
|
||||
// add news to _latest_news
|
||||
ni = &_news_items[_latest_news];
|
||||
memset(ni, 0, sizeof(ni));
|
||||
memset(ni, 0, sizeof(*ni));
|
||||
|
||||
ni->string_id = string;
|
||||
ni->display_mode = (byte)flags;
|
||||
|
Reference in New Issue
Block a user