mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Fix MinGW release builds
This commit is contained in:
committed by
Michael Steenbeek
parent
9cccd307f4
commit
8c885c92a4
@@ -70,7 +70,8 @@ NewsItem * news_item_get(sint32 index)
|
||||
|
||||
bool news_item_is_empty(sint32 index)
|
||||
{
|
||||
return news_item_get(index)->Type == NEWS_ITEM_NULL;
|
||||
NewsItem * news = news_item_get(index);
|
||||
return news != nullptr && news->Type == NEWS_ITEM_NULL;
|
||||
}
|
||||
|
||||
bool news_item_is_queue_empty()
|
||||
|
||||
Reference in New Issue
Block a user