Minor changes
This commit is contained in:
parent
46cc1be435
commit
70830e5014
4
main.cpp
4
main.cpp
@ -108,12 +108,12 @@ void updateTimer(int time)
|
|||||||
|
|
||||||
if(sf::Keyboard::isKeyPressed(sf::Keyboard::LShift))
|
if(sf::Keyboard::isKeyPressed(sf::Keyboard::LShift))
|
||||||
{
|
{
|
||||||
playerY -= .8;
|
playerY += .8;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(sf::Keyboard::isKeyPressed(sf::Keyboard::Space))
|
else if(sf::Keyboard::isKeyPressed(sf::Keyboard::Space))
|
||||||
{
|
{
|
||||||
playerY += .8;
|
playerY -= .8;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotation
|
// Rotation
|
||||||
|
Loading…
Reference in New Issue
Block a user