diff --git a/src/Vec2d/Vec2d.h b/src/Vec2d/Vec2d.h index 8d2dc17..8fcabc6 100644 --- a/src/Vec2d/Vec2d.h +++ b/src/Vec2d/Vec2d.h @@ -33,8 +33,8 @@ public: } void applyVector(Sint16 *ox, Sint16 *oy) const { - *ox += static_cast(std::round(x)); - *oy += static_cast(std::round(y)); + *ox += std::round(x); + *oy += std::round(y); } void bump(BumpType bumpType, PaddleDirection paddleDirection) {