summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 14:09:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 14:09:50 +0300
commit19dc154e3b064b9cadd16b9e9889fd23c97ce09b (patch)
tree6fbcbd08b117be4df4726fe5580a8fd4524375cf /src/statuseffect.cpp
parent17f5fe7521ea045b3ce4bffda708b813359c5ee0 (diff)
downloadmanaplus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.gz
manaplus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.bz2
manaplus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.xz
manaplus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.zip
improve statuseffect class.
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index e5184bc05..04e94a0f8 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -109,11 +109,13 @@ int StatusEffect::blockEffectIndexToEffectIndex(const int blockIndex)
StatusEffect *StatusEffect::getStatusEffect(const int index,
const bool enabling)
{
+ //+++ need check
return statusEffects[enabling][index];
}
StatusEffect *StatusEffect::getStunEffect(const int index, const bool enabling)
{
+ //+++ need check
return stunEffects[enabling][index];
}