diff options
author | Paul Gilbert | 2017-11-07 20:04:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-07 20:04:00 -0500 |
commit | 8a42959eed458e3ffa913b8e2cce463857cd9dc1 (patch) | |
tree | 74ab92ed4b512b487ec352ed621bd3e031546f82 | |
parent | 262570a576f2e5a47441ed7461eae8ba5f0d50fb (diff) | |
download | scummvm-rg350-8a42959eed458e3ffa913b8e2cce463857cd9dc1.tar.gz scummvm-rg350-8a42959eed458e3ffa913b8e2cce463857cd9dc1.tar.bz2 scummvm-rg350-8a42959eed458e3ffa913b8e2cce463857cd9dc1.zip |
XEEN: Fix FX calls in multiAttack
-rw-r--r-- | engines/xeen/combat.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp index 784dd18a6e..f60ed38e55 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -1830,6 +1830,8 @@ void Combat::multiAttack(int powNum) { sound.playFX(21); return; } + + sound.playFX(49); } else { _shooting[0] = 1; _shootType = ST_0; @@ -1914,7 +1916,7 @@ void Combat::multiAttack(int powNum) { } } else { int cell = map.getCell(2); - if (cell < map.mazeData()._difficulties._wallNoPass) { + if (cell >= map.mazeData()._difficulties._wallNoPass) { sound.playFX(46); goto finished; } @@ -1964,7 +1966,7 @@ void Combat::multiAttack(int powNum) { } } else { int cell = map.getCell(7); - if (cell < map.mazeData()._difficulties._wallNoPass) { + if (cell >= map.mazeData()._difficulties._wallNoPass) { sound.playFX(46); goto finished; } @@ -2014,7 +2016,7 @@ void Combat::multiAttack(int powNum) { } } else { int cell = map.getCell(14); - if (cell < map.mazeData()._difficulties._wallNoPass) { + if (cell >= map.mazeData()._difficulties._wallNoPass) { sound.playFX(46); goto finished; } |