mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-03 02:52:25 +00:00
trolling tropical
This commit is contained in:
parent
dc7625dfdd
commit
e7f4dfd79e
|
|
@ -2676,7 +2676,7 @@ void LevelRenderer::cull(Culler* culler, float a) {
|
||||||
if (m_bfsVisitedFaces[playerIndex].size() < visitedSize) {
|
if (m_bfsVisitedFaces[playerIndex].size() < visitedSize) {
|
||||||
m_bfsVisitedFaces[playerIndex].resize(visitedSize, 0);
|
m_bfsVisitedFaces[playerIndex].resize(visitedSize, 0);
|
||||||
}
|
}
|
||||||
memset(m_bfsVisitedFaces[playerIndex].data(), 0, visitedSize);
|
std::fill(m_bfsVisitedFaces[playerIndex].data(), 0, visitedSize);
|
||||||
|
|
||||||
q.push_back({startChunk, -1});
|
q.push_back({startChunk, -1});
|
||||||
m_bfsVisitedFaces[playerIndex][startChunk - chunks[playerIndex].data()] =
|
m_bfsVisitedFaces[playerIndex][startChunk - chunks[playerIndex].data()] =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue