summaryrefslogtreecommitdiffhomepage
path: root/src/point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/point.cpp')
-rw-r--r--src/point.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/point.cpp b/src/point.cpp
index 55785a61..f21e2d40 100644
--- a/src/point.cpp
+++ b/src/point.cpp
@@ -7,7 +7,7 @@ Debug& operator<<(Debug& dbg, const point& pt)
const auto flags = dbg.flags();
dbg.setFlags(flags | Debug::Flag::NoSpace);
- auto c = Vector3i(chunk_coords_{pt.coord});
+ auto c = Vector3i(pt.coord.chunk3());
auto t = Vector2i(pt.coord.local());
auto o = pt.offset;