From d1984938e4f0cbc24b7b8cc6e219fa873d39418a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 8 Apr 2023 11:12:50 +0200 Subject: a --- src/world.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.hpp') 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; -- cgit v1.2.3