summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-22 20:58:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-22 20:58:13 +0300
commit8ad99cc3f4dd98f0b73a2ece9323f01099a81e80 (patch)
tree33115940e6efabec34efb71e0be6b6d7dfd7e4df /src/being/localplayer.cpp
parent04f47f060f94ec0e2dfc3cccf62cff167e0ecd68 (diff)
downloadmanaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.gz
manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.bz2
manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.xz
manaverse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.zip
Add profiler lines into some functions.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index cc3e327cb..28b08a558 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2774,6 +2774,7 @@ void LocalPlayer::loadHomes()
void LocalPlayer::setMap(Map *const map)
{
+ BLOCK_START("LocalPlayer::setMap")
if (map)
{
if (socialWindow)
@@ -2785,6 +2786,7 @@ void LocalPlayer::setMap(Map *const map)
Being::setMap(map);
updateNavigateList();
+ BLOCK_END("LocalPlayer::setMap")
}
void LocalPlayer::setHome()