summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 02:51:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 02:51:28 +0300
commit985a6b7f5374f3d7310f3d6cec95874f2f3d81b8 (patch)
tree63f834b63ef901fcd214166d1a62baadf0eabfed /src
parent040028966ad4b1fdc947c15cd8872297230d924b (diff)
downloadmanaverse-985a6b7f5374f3d7310f3d6cec95874f2f3d81b8.tar.gz
manaverse-985a6b7f5374f3d7310f3d6cec95874f2f3d81b8.tar.bz2
manaverse-985a6b7f5374f3d7310f3d6cec95874f2f3d81b8.tar.xz
manaverse-985a6b7f5374f3d7310f3d6cec95874f2f3d81b8.zip
Add comment into ActorSprite::setStatusEffectBlock.
Diffstat (limited to 'src')
-rw-r--r--src/being/actorsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 629fef7b6..e73397145 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -194,7 +194,7 @@ void ActorSprite::setStatusEffectBlock(const int offset,
{
const bool val = (newEffects & (1 << i)) > 0;
const int index = StatusEffect::blockEffectIndexToEffectIndex(
- offset + i);
+ offset + i); // block-id (offset + i) to id (index)
if (index != -1)
{