I am facing the same problem although the sprite flips but only one time after that it does not flips at all.
Here is the code snippet:
void Doodle::moveLeft()
{
if(d_Right)
d_Sprite.setScale(-1.0f, 1.0f);
d_Left = true;
}
void Doodle::moveRight()
{
if(d_Left==false)
d_Sprite.setScale(-1.0f, 1.0f);
d_Right = true;
}
void Doodle::stopLeft()
{
d_Left = false;
}
void Doodle::stopRight()
{
d_Right = false;
}