From d812d9fac7bae4eff66a5ce8275be19d0ca77a32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Nov 2012 21:13:16 +0300 Subject: Add own profiler and profiler info to some code. --- src/net/tmwa/specialhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/tmwa/specialhandler.cpp') diff --git a/src/net/tmwa/specialhandler.cpp b/src/net/tmwa/specialhandler.cpp index ab37aba97..72838e052 100644 --- a/src/net/tmwa/specialhandler.cpp +++ b/src/net/tmwa/specialhandler.cpp @@ -50,6 +50,7 @@ SpecialHandler::SpecialHandler() : void SpecialHandler::handleMessage(Net::MessageIn &msg) { + BLOCK_START("SpecialHandler::handleMessage") switch (msg.getId()) { case SMSG_PLAYER_SKILLS: @@ -67,6 +68,7 @@ void SpecialHandler::handleMessage(Net::MessageIn &msg) default: break; } + BLOCK_END("SpecialHandler::handleMessage") } void SpecialHandler::useBeing(int id, int level, int beingId) -- cgit v1.2.3-70-g09d2