Swapped the intervals for upward and downward movement

This commit is contained in:
Functioning Member of Society 2022-11-01 17:19:31 -04:00
parent fbe3bbd55e
commit ea818914bc

View File

@ -108,12 +108,12 @@ void updateTimer(int time)
if(sf::Keyboard::isKeyPressed(sf::Keyboard::LShift))
{
playerY += .8;
playerY -= .8;
}
else if(sf::Keyboard::isKeyPressed(sf::Keyboard::Space))
{
playerY -= .8;
playerY += .8;
}
// Rotation