[Scummvm-git-logs] scummvm master -> 07775ca71723ddb02de32b840b90742a173dca35
dreammaster
dreammaster at scummvm.org
Sat Apr 7 04:58:22 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
07775ca717 XEEN: Fix animation for Elemental Storm spell
Commit: 07775ca71723ddb02de32b840b90742a173dca35
https://github.com/scummvm/scummvm/commit/07775ca71723ddb02de32b840b90742a173dca35
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-06T22:43:44-04:00
Commit Message:
XEEN: Fix animation for Elemental Storm spell
Changed paths:
engines/xeen/spells.cpp
diff --git a/engines/xeen/spells.cpp b/engines/xeen/spells.cpp
index f530750..7aa89bb 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() {
More information about the Scummvm-git-logs
mailing list