From 8f1fcab947d42a1bcbb304417a95f1e9fa6880f6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 2 Mar 2024 13:44:03 +0100 Subject: d --- src/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/object.cpp b/src/object.cpp index 9d8f2f16..521fa7b1 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -35,7 +35,7 @@ constexpr inline Pair normalize_coord(const int8_t cur, const int n auto xmask = (int8_t)-(int8_t)b; t += s & tmask; x = (int8_t)((tile_size - a)*-s) & xmask | (int8_t)(x & ~xmask); - return { t, (int8_t)x }; + return { t, x }; } } // namespace -- cgit v1.2.3