animpoint.cpp
changeset 835 31841b366d5e
parent 826 e715694b0f47
child 847 43268373032d
     1.1 --- a/animpoint.cpp	Wed Mar 10 15:36:19 2010 +0000
     1.2 +++ b/animpoint.cpp	Mon Mar 15 11:49:42 2010 +0000
     1.3 @@ -104,7 +104,7 @@
     1.4  
     1.5  bool AnimPoint::animate()
     1.6  {
     1.7 -	if (!animated) return animated;
     1.8 +	if (!animated) return false;
     1.9  	n++;
    1.10  	if (n>animTicks)
    1.11  	{
    1.12 @@ -112,7 +112,7 @@
    1.13  		animated=false;
    1.14  		setX (destPos.x() );
    1.15  		setY (destPos.y() );
    1.16 -		return animated;
    1.17 +		return false;
    1.18  	}
    1.19  
    1.20  	// Some math to slow down the movement in the end