diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/path-search.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-search.cpp b/src/path-search.cpp index 26759bd0..365791de 100644 --- a/src/path-search.cpp +++ b/src/path-search.cpp @@ -55,7 +55,7 @@ constexpr Pair<Vector2i, Vector2i> get_value(Vector2i sz, Vector2ub div, rotatio return {min_E, max_E}; } case (uint8_t)rotation_COUNT: { - auto min_C = Vector2i(-(sz.x() >> 1), -(sz.y() >> 1) ); + auto min_C = Vector2i(-sz.x()/2, -sz.y()/2 ); auto max_C = min_C + sz; return {min_C, max_C}; } |