summaryrefslogtreecommitdiff
path: root/src
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
parent17f5fe7521ea045b3ce4bffda708b813359c5ee0 (diff)
downloadplus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.gz
plus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.bz2
plus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.xz
plus-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.zip
improve statuseffect class.
Diffstat (limited to 'src')
-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];
}