aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/spells.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp
index f5307504b2..7aa89bbee1 100644
--- a/engines/xeen/spells.cpp
+++ b/engines/xeen/spells.cpp
@@ -522,8 +522,8 @@ void Spells::elementalStorm() {
combat._monsterDamage = 150;
combat._damageType = (DamageType)_vm->getRandomNumber(DT_FIRE, DT_POISON);
combat._rangeType = RT_ALL;
- sound.playFX(STORM_FX_LIST[combat._damageType]);
- combat.rangedAttack(STORM_MA_LIST[combat._damageType]);
+ sound.playFX(STORM_FX_LIST[combat._damageType - DT_FIRE]);
+ combat.rangedAttack(STORM_MA_LIST[combat._damageType - DT_FIRE]);
}
void Spells::enchantItem() {