diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-08 20:36:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-08 20:52:37 +0300 |
commit | 693c51aa92d406d4ac5125d8960f740853b103b2 (patch) | |
tree | 42facf3140e73a05379da79663687531e871fe01 /src/client.cpp | |
parent | a096b29db464950774e3f93c75b0f6b7e19e7aca (diff) | |
download | plus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.gz plus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.bz2 plus-693c51aa92d406d4ac5125d8960f740853b103b2.tar.xz plus-693c51aa92d406d4ac5125d8960f740853b103b2.zip |
fix profiler working.
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 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; |