Remove unneeded init
This commit is contained in:
parent
af1c650727
commit
4b7015b96b
1 changed files with 0 additions and 2 deletions
|
@ -129,8 +129,6 @@ void Game::processEvents(InputState & inputState) {
|
|||
return;
|
||||
}
|
||||
|
||||
inputState.down = inputState.up = inputState.left = inputState.right = false;
|
||||
|
||||
inputState.down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Down);
|
||||
inputState.up = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Up);
|
||||
inputState.left = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Left);
|
||||
|
|
Loading…
Reference in a new issue