Retocado el borde de la powerball y quitados los efectos de rebote

This commit is contained in:
2022-10-04 16:58:10 +02:00
parent 9f93de1d06
commit 5fd1ffa865
6 changed files with 47 additions and 24 deletions

View File

@@ -251,7 +251,11 @@ void MovingSprite::rotate()
if (enabled)
if (rotateEnabled)
{
if (counter % rotateSpeed == 0)
if (rotateSpeed == 0)
{
incAngle(rotateAmount);
}
else if (counter % rotateSpeed == 0)
{
incAngle(rotateAmount);
}