summaryrefslogtreecommitdiffhomepage
path: root/editor/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/camera.cpp')
-rw-r--r--editor/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp
index f018ad8c..94f36892 100644
--- a/editor/camera.cpp
+++ b/editor/camera.cpp
@@ -63,7 +63,7 @@ void app::update_cursor_tile(const Optional<Vector2i>& pixel)
if (pixel)
{
auto coord = M->pixel_to_tile(Vector2d{*pixel});
- cursor.tile = {InPlaceInit, coord.chunk(), coord.local(), _z_level};
+ cursor.tile = global_coords{coord.chunk(), coord.local(), _z_level};
}
else
cursor.tile = NullOpt;