diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-02 13:44:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-02 13:44:03 +0100 |
commit | 8f1fcab947d42a1bcbb304417a95f1e9fa6880f6 (patch) | |
tree | 3b6a1a23bfab0f332763a4f8bdfd4e79529dbece /src/object.cpp | |
parent | a6897eb44d181a52bece88f552df81f5d18934b1 (diff) |
d
Diffstat (limited to 'src/object.cpp')
-rw-r--r-- | src/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int, int8_t> 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 |