summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-26 20:58:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-26 21:45:25 +0300
commita6978e254af2a83b2b52778b4c59828b07542e5b (patch)
tree6cdca313b863f3f60825afd7cb62e342906e7495 /src/game.cpp
parentf5ac38e101f180d6f7e5d6b4cd42bcad99af58a6 (diff)
downloadmanaverse-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.gz
manaverse-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.bz2
manaverse-a6978e254af2a83b2b52778b4c59828b07542e5b.tar.xz
manaverse-a6978e254af2a83b2b52778b4c59828b07542e5b.zip
Fix code style and auto check issues.
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)
{