Update AVX + Fix Zombie and Villagers IA

This commit is contained in:
GabsPuNs
2026-04-25 14:41:23 -04:00
parent bbdcd31e59
commit 42fcbcf44a
5 changed files with 38 additions and 5 deletions

View File

@@ -443,7 +443,7 @@ void LevelRenderer::allChanged(int playerIndex)
lastPlayerCount[playerIndex] = activePlayers();
xChunks = dist;
yChunks = Level::maxBuildHeight / CHUNK_SIZE;
yChunks = CHUNK_Y_COUNT;
zChunks = dist;
if( chunks[playerIndex].data != nullptr )
@@ -3442,7 +3442,6 @@ void LevelRenderer::levelEvent(shared_ptr<Player> source, int type, int x, int y
level[playerIndex]->playLocalSound(x + 0.5, y + 0.5, z + 0.5, eSoundType_MOB_BAT_TAKEOFF, .05f, (random->nextFloat() - random->nextFloat()) * 0.2f + 1.0f);
break;
}
}
void LevelRenderer::destroyTileProgress(int id, int x, int y, int z, int progress)