diff options
author | Paul Gilbert | 2019-09-22 15:40:02 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-22 15:40:15 -0700 |
commit | e92b2547b9010757c600e98579a93fdaf57e86bc (patch) | |
tree | 2e1bb8b92e91f6aa6544271b019572553d925ed6 /engines/xeen | |
parent | 264b4bba40d9ab2ff5910b6882eae90f66dac9f0 (diff) | |
download | scummvm-rg350-e92b2547b9010757c600e98579a93fdaf57e86bc.tar.gz scummvm-rg350-e92b2547b9010757c600e98579a93fdaf57e86bc.tar.bz2 scummvm-rg350-e92b2547b9010757c600e98579a93fdaf57e86bc.zip |
XEEN: Fix ending monster suffering elemental damage
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/interface_scene.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/xeen/interface_scene.cpp b/engines/xeen/interface_scene.cpp index 5e24403b0c..c40f65d589 100644 --- a/engines/xeen/interface_scene.cpp +++ b/engines/xeen/interface_scene.cpp @@ -775,12 +775,12 @@ void InterfaceScene::animate3d() { monster._effect3 = 2; } } - } - } else { - monster._effect3 = (monster._effect3 + 1) % 8; - if (monster._effect3 == 0) { - MonsterStruct &monsterData = *monster._monsterData; - monster._effect1 = monster._effect2 = monsterData._animationEffect; + } else { + monster._effect3 = (monster._effect3 + 1) % 8; + if (monster._effect3 == 0) { + MonsterStruct &monsterData = *monster._monsterData; + monster._effect1 = monster._effect2 = monsterData._animationEffect; + } } } } |