remove static cast

This commit is contained in:
= 2024-01-20 01:15:49 +01:00
parent 911f51da78
commit 026dc6cd70

View File

@ -33,8 +33,8 @@ public:
} }
void applyVector(Sint16 *ox, Sint16 *oy) const { void applyVector(Sint16 *ox, Sint16 *oy) const {
*ox += static_cast<int>(std::round(x)); *ox += std::round(x);
*oy += static_cast<int>(std::round(y)); *oy += std::round(y);
} }
void bump(BumpType bumpType, PaddleDirection paddleDirection) { void bump(BumpType bumpType, PaddleDirection paddleDirection) {