This commit is contained in:
Nikita Edel committed 2026-03-11 18:49:36 +01:00
1 parent cc65f7ee29
commit faa4a989ce
6 files changed
+19 -10

No files matched your search

+1 -1
View File
@@ -3228,7 +3228,7 @@ void Level::tickClientSideTiles(int xo, int zo, LevelChunk *lc)
if (delayUntilNextMoodSound == 0)
{
randValue = randValue * 3 + addend;
randValue = (unsigned) randValue * 3 + (unsigned) addend;
int val = (randValue >> 2);
int x = (val & 15);
int z = ((val >> 8) & 15);