Fixed compilation after chunk Y removal.
This commit is contained in:
parent
3297a39c27
commit
7ab4c078b8
@ -1789,7 +1789,7 @@ bool cChunkMap::ForEachEntityInBox(const cBoundingBox & a_Box, cEntityCallback &
|
|||||||
{
|
{
|
||||||
for (int x = MinChunkX; x <= MaxChunkX; x++)
|
for (int x = MinChunkX; x <= MaxChunkX; x++)
|
||||||
{
|
{
|
||||||
cChunkPtr Chunk = GetChunkNoGen(x, ZERO_CHUNK_Y, z);
|
cChunkPtr Chunk = GetChunkNoGen(x, z);
|
||||||
if ((Chunk == NULL) || !Chunk->IsValid())
|
if ((Chunk == NULL) || !Chunk->IsValid())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user