mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 12:13:51 +00:00
Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
parent
d6ec138710
commit
d63f79325f
308 changed files with 5371 additions and 5379 deletions
|
|
@ -13,8 +13,8 @@ void DemoMode::tick()
|
|||
SurvivalMode::tick();
|
||||
|
||||
/* 4J - TODO - seems unlikely we need this demo mode anyway
|
||||
__int64 time = minecraft->level->getTime();
|
||||
__int64 day = (time / Level::TICKS_PER_DAY) + 1;
|
||||
int64_t time = minecraft->level->getTime();
|
||||
int64_t day = (time / Level::TICKS_PER_DAY) + 1;
|
||||
|
||||
demoHasEnded = (time > (500 + Level::TICKS_PER_DAY * DEMO_DAYS));
|
||||
if (demoHasEnded)
|
||||
|
|
@ -26,7 +26,7 @@ void DemoMode::tick()
|
|||
{
|
||||
if (day <= (DEMO_DAYS + 1))
|
||||
{
|
||||
minecraft->gui->displayClientMessage(L"demo.day." + _toString<__int64>(day));
|
||||
minecraft->gui->displayClientMessage(L"demo.day." + _toString<int64_t>(day));
|
||||
}
|
||||
}
|
||||
else if (day == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue