diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-27 10:54:40 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-27 12:07:12 +0300 |
commit | 30105d7c590753c96987baf855d2d84ff23d9d75 (patch) | |
tree | 9fadde4c29e5bec79f24e648f67ffccc14d7cf33 /src/client.cpp | |
parent | 8f10444e4ce4a4e25455f0a3857edc7ca74631e8 (diff) | |
download | manaplus-30105d7c590753c96987baf855d2d84ff23d9d75.tar.gz manaplus-30105d7c590753c96987baf855d2d84ff23d9d75.tar.bz2 manaplus-30105d7c590753c96987baf855d2d84ff23d9d75.tar.xz manaplus-30105d7c590753c96987baf855d2d84ff23d9d75.zip |
Removed unused variable 'handledEvents'
At some point this variable was used to avoid limiting the framerate
when user input events were coming in. This is no longer relevant now
that we limit the framerate globally using SDL_gfx.
Conflicts:
src/client.cpp
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 03c2fc648..51e9155e7 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -636,8 +636,6 @@ int Client::exec() while (mState != STATE_EXIT) { -// bool handledEvents = false; - if (game) { // Let the game handle the events while it is active @@ -648,8 +646,6 @@ int Client::exec() // Handle SDL events while (SDL_PollEvent(&event)) { -// handledEvents = true; - switch (event.type) { case SDL_QUIT: |