refactor: nuke __int64/__uint64 in Minecraft.World

This commit is contained in:
Tropical committed 2026-03-21 17:10:36 -05:00
1 parent 8036565022
commit 357fca24aa
117 files changed
+251 -251

No files matched your search

+2 -2
View File
@@ -783,8 +783,8 @@ void RandomLevelSource::postProcess(ChunkSource* parent, int xt, int zt) {
}
pprandom->setSeed(level->getSeed());
__int64 xScale = pprandom->nextLong() / 2 * 2 + 1;
__int64 zScale = pprandom->nextLong() / 2 * 2 + 1;
int64_t xScale = pprandom->nextLong() / 2 * 2 + 1;
int64_t zScale = pprandom->nextLong() / 2 * 2 + 1;
// 4jcraft added casts to a higher int and unsigned
pprandom->setSeed((((uint64_t)xt * (uint64_t)xScale) +
((uint64_t)zt * (uint64_t)zScale)) ^