summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
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 bda8d3a4..9b776c5e 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -98,7 +98,7 @@ public:
[[nodiscard]] object_id make_id() { return ++_object_counter; }
void set_object_counter(object_id value);
- struct neighbor_pair final { chunk* c; chunk_coords_ coord; };
+ struct neighbor_pair final { chunk* c = nullptr; chunk_coords_ coord; };
std::array<neighbor_pair, 8> neighbors(chunk_coords_ coord);