summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-27 10:54:40 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-27 10:57:34 +0200
commitdc01deabad46e2d188056cfbe9c6f246a46dc60e (patch)
tree4213441eef9b028cd3f3f1c7ad78ba26a6ea3866
parent2d0e84449b14615bdacb6f897791628662bbfd39 (diff)
downloadMana-dc01deabad46e2d188056cfbe9c6f246a46dc60e.tar.gz
Mana-dc01deabad46e2d188056cfbe9c6f246a46dc60e.tar.bz2
Mana-dc01deabad46e2d188056cfbe9c6f246a46dc60e.tar.xz
Mana-dc01deabad46e2d188056cfbe9c6f246a46dc60e.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.
-rw-r--r--src/client.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index bac3684f..437e1f06 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -495,8 +495,6 @@ int Client::exec()
while (mState != STATE_EXIT)
{
- bool handledEvents = false;
-
if (game)
{
// Let the game handle the events while it is active
@@ -507,8 +505,6 @@ int Client::exec()
// Handle SDL events
while (SDL_PollEvent(&event))
{
- handledEvents = true;
-
switch (event.type)
{
case SDL_QUIT: