Refactor NewsItem into namespace and Pascal Case (#12511)

This commit is contained in:
pizza2004 authored and GitHub committed 2020-08-02 23:14:00 -03:00
1 parent aa11773da3
commit d217dfa9b9
25 files changed
+385 -386

No files matched your search

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