From 693c51aa92d406d4ac5125d8960f740853b103b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Oct 2013 20:36:45 +0300 Subject: fix profiler working. --- src/client.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/client.cpp') 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; -- cgit v1.2.3-60-g2f50