diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 14:09:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 14:09:50 +0300 |
commit | 19dc154e3b064b9cadd16b9e9889fd23c97ce09b (patch) | |
tree | 6fbcbd08b117be4df4726fe5580a8fd4524375cf | |
parent | 17f5fe7521ea045b3ce4bffda708b813359c5ee0 (diff) | |
download | manaverse-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.gz manaverse-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.bz2 manaverse-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.tar.xz manaverse-19dc154e3b064b9cadd16b9e9889fd23c97ce09b.zip |
improve statuseffect class.
-rw-r--r-- | src/statuseffect.cpp | 2 |
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]; } |