diff -r 6d2b32f305f9 -r e715694b0f47 animpoint.cpp --- a/animpoint.cpp Wed May 13 08:26:27 2009 +0000 +++ b/animpoint.cpp Sat Mar 06 20:05:02 2010 +0000 @@ -116,7 +116,7 @@ } // Some math to slow down the movement in the end - qreal f=1-n/animTicks; + qreal f=1-n/(qreal)animTicks; qreal ff=1-f*f*f; setX (startPos.x() + vector.x()*ff ); setY (startPos.y() + vector.y()*ff );