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;
|
static std::string DiscordState;
|
||||||
|
|
||||||
void CMain::InitializeDiscord() {
|
void CMain::InitializeDiscord() {
|
||||||
DiscordStartTime = time(0);
|
DiscordStartTime = std::time(nullptr);
|
||||||
DiscordEventHandlers handlers = {};
|
DiscordEventHandlers handlers = {};
|
||||||
handlers.ready = HandleDiscordReady;
|
handlers.ready = HandleDiscordReady;
|
||||||
handlers.disconnected = HandleDiscordDisconnected;
|
handlers.disconnected = HandleDiscordDisconnected;
|
||||||
|
|
Loading…
Reference in New Issue