refactor: nuke __int64/__uint64 in Minecraft.World

This commit is contained in:
Tropical
2026-03-21 17:10:36 -05:00
parent 8036565022
commit 357fca24aa
117 changed files with 251 additions and 251 deletions

View File

@@ -134,10 +134,10 @@ TilePos* StructureFeature::getNearestGeneratedFeature(Level* level, int cellX,
this->level = level;
random->setSeed(level->getSeed());
__int64 xScale = random->nextLong();
__int64 zScale = random->nextLong();
__int64 xx = (cellX >> 4) * xScale;
__int64 zz = (cellZ >> 4) * zScale;
int64_t xScale = random->nextLong();
int64_t zScale = random->nextLong();
int64_t xx = (cellX >> 4) * xScale;
int64_t zz = (cellZ >> 4) * zScale;
random->setSeed(xx ^ zz ^ level->getSeed());
addFeature(level, cellX >> 4, cellZ >> 4, 0, 0, byteArray());