diff options
author | Paul Gilbert | 2018-04-06 22:43:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-06 22:43:44 -0400 |
commit | 07775ca71723ddb02de32b840b90742a173dca35 (patch) | |
tree | ec299533fe1eb7f1529e8b47fd90b9e9e527c084 /engines/xeen | |
parent | fa00855a109e6ba11aad663c2d41d8a503f7d31d (diff) | |
download | scummvm-rg350-07775ca71723ddb02de32b840b90742a173dca35.tar.gz scummvm-rg350-07775ca71723ddb02de32b840b90742a173dca35.tar.bz2 scummvm-rg350-07775ca71723ddb02de32b840b90742a173dca35.zip |
XEEN: Fix animation for Elemental Storm spell
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/spells.cpp | 4 |
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() { |