diff --git a/include/components/types.hpp b/include/components/types.hpp index 82450c9a..17fa89c2 100644 --- a/include/components/types.hpp +++ b/include/components/types.hpp @@ -113,7 +113,7 @@ struct action_block : public action { } bool test(int point) const { - return static_cast(start_x) < point && static_cast(end_x) >= point; + return static_cast(start_x) <= point && static_cast(end_x) > point; } };