From e1d3607fb443109f1ae49a4765b9e2c5a7998a1b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 13 Apr 2023 00:35:28 +0200 Subject: wip z level --- src/global-coords.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/global-coords.hpp') diff --git a/src/global-coords.hpp b/src/global-coords.hpp index 737fc21b..d1fd2b8d 100644 --- a/src/global-coords.hpp +++ b/src/global-coords.hpp @@ -125,7 +125,7 @@ constexpr Vector2i global_coords::to_signed() const noexcept constexpr Vector3i global_coords::to_signed3() const noexcept { - return Vector3i(to_signed(), 0); + return Vector3i(to_signed(), z()); } constexpr global_coords global_coords::operator+(Vector2i vec) const noexcept -- cgit v1.2.3