summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-25 15:15:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-25 15:15:54 +0300
commit2198ecc98ecc5e94f2856795065d198557387ade (patch)
tree873858ffceb4b6e62f441597860224b9fa3a6207 /src/effectmanager.cpp
parent75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (diff)
downloadmanaverse-2198ecc98ecc5e94f2856795065d198557387ade.tar.gz
manaverse-2198ecc98ecc5e94f2856795065d198557387ade.tar.bz2
manaverse-2198ecc98ecc5e94f2856795065d198557387ade.tar.xz
manaverse-2198ecc98ecc5e94f2856795065d198557387ade.zip
Add more profiler labels.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index 8cc987e6e..d72824822 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -86,6 +86,7 @@ bool EffectManager::trigger(const int id, Being *const being,
if (!being || !particleEngine)
return false;
+ BLOCK_START("EffectManager::trigger")
bool rValue = false;
FOR_EACH (std::vector<EffectDescription>::const_iterator, i, mEffects)
{
@@ -106,6 +107,7 @@ bool EffectManager::trigger(const int id, Being *const being,
break;
}
}
+ BLOCK_END("EffectManager::trigger")
return rValue;
}