diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-26 20:58:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-26 21:45:25 +0300 |
commit | a6978e254af2a83b2b52778b4c59828b07542e5b (patch) | |
tree | 6cdca313b863f3f60825afd7cb62e342906e7495 /src/game.cpp | |
parent | f5ac38e101f180d6f7e5d6b4cd42bcad99af58a6 (diff) | |
download | plus-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.gz plus-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.bz2 plus-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.xz plus-a6978e254af2a83b2b52778b4c59828b07542e5b.zip |
Fix code style and auto check issues.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp index 487f55f35..b17646730 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -950,7 +950,6 @@ void Game::handleInput() if (joystick) joystick->update(); - bool wasDown(false); // Events SDL_Event event; while (SDL_PollEvent(&event)) @@ -968,8 +967,6 @@ void Game::handleInput() // Keyboard events (for discontinuous keys) else if (event.type == SDL_KEYDOWN) { - wasDown = true; - if (setupWindow && setupWindow->isVisible() && keyboard.getNewKeyIndex() > keyboard.KEY_NO_VALUE) { |