aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelChunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/LevelChunk.cpp')
-rw-r--r--Minecraft.World/LevelChunk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/LevelChunk.cpp b/Minecraft.World/LevelChunk.cpp
index d4be5ac2..e4958ecf 100644
--- a/Minecraft.World/LevelChunk.cpp
+++ b/Minecraft.World/LevelChunk.cpp
@@ -394,7 +394,7 @@ void LevelChunk::startSharingTilesAndData(int forceMs)
else
{
// Only force if it has been more than forceMs milliseconds since we last wanted to unshare this chunk
- __int64 timenow = System::currentTimeMillis();
+ int64_t timenow = System::currentTimeMillis();
if( ( timenow - lastUnsharedTime ) < forceMs )
{
LeaveCriticalSection(&m_csSharing);
@@ -1940,7 +1940,7 @@ void LevelChunk::setCheckAllLight()
checkLightPosition = 0;
}
-Random *LevelChunk::getRandom(__int64 l)
+Random *LevelChunk::getRandom(int64_t l)
{
return new Random((level->getSeed() + x * x * 4987142 + x * 5947611 + z * z * 4392871l + z * 389711) ^ l);
}