summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index 44785f61..9adb38a2 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -66,7 +66,7 @@ global_coords main_impl::pixel_to_tile(Vector2d position) const noexcept
{
auto vec = pixel_to_tile_(position);
const auto x = (int32_t)std::floor(vec[0]), y = (int32_t)std::floor(vec[1]);
- return { x, y };
+ return { x, y, 0 };
}
Vector2d main_impl::pixel_to_tile_(Vector2d position) const noexcept