From 19dc154e3b064b9cadd16b9e9889fd23c97ce09b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Mar 2013 14:09:50 +0300 Subject: improve statuseffect class. --- src/statuseffect.cpp | 2 ++ 1 file changed, 2 insertions(+) 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]; } -- cgit v1.2.3-70-g09d2