diff options
Diffstat (limited to 'src/Simulator/SimulatorManager.cpp')
-rw-r--r-- | src/Simulator/SimulatorManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/SimulatorManager.cpp b/src/Simulator/SimulatorManager.cpp index 8af56c791..321035de5 100644 --- a/src/Simulator/SimulatorManager.cpp +++ b/src/Simulator/SimulatorManager.cpp @@ -71,7 +71,7 @@ void cSimulatorManager::WakeUp(cChunk & a_Chunk, Vector3i a_Position) for (const auto & Offset : cSimulator::AdjacentOffsets) { auto Relative = a_Position + Offset; - if (!cChunkDef::IsValidHeight(Relative.y)) + if (!cChunkDef::IsValidHeight(Relative)) { continue; } |