summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 17:14:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 17:14:02 +0300
commit49c798d504269545429d1aba72f7ee7a390b002f (patch)
tree3a8ebb96afe03ea8cdf2d536a119a53db491e47f /src/being
parent800b0f0477ac00a447aa958d1974e2c01d4eaa6c (diff)
downloadmanaverse-49c798d504269545429d1aba72f7ee7a390b002f.tar.gz
manaverse-49c798d504269545429d1aba72f7ee7a390b002f.tar.bz2
manaverse-49c798d504269545429d1aba72f7ee7a390b002f.tar.xz
manaverse-49c798d504269545429d1aba72f7ee7a390b002f.zip
Rename some fields and methods in StatusEffectDB.
Diffstat (limited to 'src/being')
-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 6c083b9ce..40b3ef992 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -195,7 +195,7 @@ void ActorSprite::setStatusEffectBlock(const int offset,
for (unsigned i = 0; i < STATUS_EFFECTS; i++)
{
const bool val = (newEffects & (1 << i)) > 0;
- const int index = StatusEffectDB::blockEffectIndexToEffectIndex(
+ const int index = StatusEffectDB::blockIdToId(
offset + i); // block-id (offset + i) to id (index)
if (index != -1)