summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 20:36:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 20:52:37 +0300
commit693c51aa92d406d4ac5125d8960f740853b103b2 (patch)
tree42facf3140e73a05379da79663687531e871fe01
parenta096b29db464950774e3f93c75b0f6b7e19e7aca (diff)
downloadmanaplus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.gz
manaplus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.bz2
manaplus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.xz
manaplus-693c51aa92d406d4ac5125d8960f740853b103b2.zip
fix profiler working.
-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
}