summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
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)
{