mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-12 08:06:08 +00:00
MP1: Make use of nullptr where applicable
Same behavior, more indicative of what is being passed.
This commit is contained in:
@@ -633,7 +633,7 @@ static u32 DiscordItemPercent = 0xffffffff;
|
||||
static std::string DiscordState;
|
||||
|
||||
void CMain::InitializeDiscord() {
|
||||
DiscordStartTime = time(0);
|
||||
DiscordStartTime = std::time(nullptr);
|
||||
DiscordEventHandlers handlers = {};
|
||||
handlers.ready = HandleDiscordReady;
|
||||
handlers.disconnected = HandleDiscordDisconnected;
|
||||
|
||||
Reference in New Issue
Block a user