summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-08 11:12:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-08 11:12:50 +0200
commitd1984938e4f0cbc24b7b8cc6e219fa873d39418a (patch)
treed00c6cf0ba66c3285d145527360a0e3aeaef6671 /src/world.hpp
parentd17ed6b4ba01a73d33e3ff3ca8f0f6fb25259223 (diff)
a
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp
index 793b3605..e6ec4f5b 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -21,7 +21,7 @@ struct world final
{
private:
struct chunk_tuple final {
- static constexpr chunk_coords_ invalid_coords = { -1 << 15, -1 << 15, -8 };
+ static constexpr chunk_coords_ invalid_coords = { -1 << 15, -1 << 15, chunk_min_z };
chunk* c = nullptr;
chunk_coords_ pos = invalid_coords;
} _last_chunk;