mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Refactor NewsItem into namespace and Pascal Case (#12511)
This commit is contained in:
@@ -1677,7 +1677,7 @@ static int32_t cc_add_news_item([[maybe_unused]] InteractiveConsole& console, [[
|
||||
auto type = atoi(argv[0].c_str());
|
||||
auto msg = argv[1].c_str();
|
||||
auto assoc = atoi(argv[2].c_str());
|
||||
news_item_add_to_queue_raw(static_cast<News::ItemType>(type), msg, assoc);
|
||||
News::AddItemToQueue(static_cast<News::ItemType>(type), msg, assoc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user