mirror of https://github.com/AxioDL/metaforce.git
MP1: Make use of nullptr where applicable
Same behavior, more indicative of what is being passed.
This commit is contained in:
parent
aabc0b7114
commit
0e4bd8bf13
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue