summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp4
-rw-r--r--src/eventsmanager.cpp1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ffd7336ef..a18c2c0f7 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -970,12 +970,9 @@ int Client::gameExec()
while (mState != STATE_EXIT)
{
PROFILER_START();
- BLOCK_START("Client::gameExec 1")
if (eventsManager.handleEvents())
continue;
- BLOCK_END("Client::gameExec 1")
-
BLOCK_START("Client::gameExec 3")
if (Net::getGeneralHandler())
Net::getGeneralHandler()->flushNetwork();
@@ -1751,7 +1748,6 @@ int Client::gameExec()
}
BLOCK_END("Client::gameExec 8")
}
- BLOCK_END("Client::gameExec 1")
}
return 0;
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index 1cc73178b..a9e2f4169 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -165,7 +165,6 @@ void EventsManager::handleGameEvents()
if (handleCommonEvents(event))
break;
- BLOCK_END("Game::handleInput 2")
} // End while
}