mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-27 05:45:21 +00:00
Use 64 bits for GetTickCount64
This commit is contained in:
@@ -1301,7 +1301,7 @@ void Tutorial::tick()
|
||||
// Don't do anything for the first 2 seconds so that the loading screen is gone
|
||||
if(!m_bHasTickedOnce)
|
||||
{
|
||||
int time = GetTickCount64();
|
||||
uint64_t time = GetTickCount64();
|
||||
if(m_firstTickTime == 0)
|
||||
{
|
||||
m_firstTickTime = time;
|
||||
@@ -1779,7 +1779,7 @@ bool Tutorial::setMessage(TutorialHint *hint, PopupMessageDetails *message)
|
||||
bool hintsOn = m_isFullTutorial || (app.GetGameSettings(m_iPad,eGameSetting_Hints) && app.GetGameSettings(m_iPad,eGameSetting_DisplayHUD));
|
||||
|
||||
bool messageShown = false;
|
||||
DWORD time = GetTickCount64();
|
||||
DWORD64 time = GetTickCount64();
|
||||
if(message != nullptr && (message->m_forceDisplay || hintsOn) &&
|
||||
(!message->m_delay ||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user