diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 26e0d6f591..2c346c28a9 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -348,8 +348,8 @@ void Actor::StretchTo( LPRECT pRect ) int rect_height = RECTHEIGHT(*pRect); // center of the rectangle - int rect_cx = pRect->left + rect_width/2; - int rect_cy = pRect->top + rect_height/2; + float rect_cx = pRect->left + rect_width/2.0f; + float rect_cy = pRect->top + rect_height/2.0f; // zoom fActor needed to scale the Actor to fill the rectangle float fNewZoomX = rect_width / m_size.x;