mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
change tick on win32
This commit is contained in:
parent
2e5692da45
commit
5254b8d230
@ -92,9 +92,9 @@ int Platform::getTicks()
|
||||
{
|
||||
static unsigned long firstTick = 0;
|
||||
if(!firstTick)
|
||||
firstTick = GetTickCount64();
|
||||
firstTick = GetTickCount();
|
||||
|
||||
return (uint32_t)(GetTickCount64() - firstTick);
|
||||
return (uint32_t)(GetTickCount() - firstTick);
|
||||
}
|
||||
|
||||
void Platform::sleep(unsigned long miliseconds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user