From 8a42959eed458e3ffa913b8e2cce463857cd9dc1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 7 Nov 2017 20:04:00 -0500 Subject: XEEN: Fix FX calls in multiAttack --- engines/xeen/combat.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/xeen') 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; } -- cgit v1.2.3