1
0
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:
pizza2004
2020-08-02 20:14:00 -06:00
committed by GitHub
parent aa11773da3
commit d217dfa9b9
25 changed files with 385 additions and 386 deletions

View File

@@ -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;
}