From: Holger Schemel Date: Fri, 7 Apr 2017 06:35:58 +0000 (+0200) Subject: fixed bug with bomb not disabling laser beam when using laser cannon X-Git-Tag: 4.1.0.0~134 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=38d91dac3d2809dd4e3fa6bb7570ed7f146d429f;p=rocksndiamonds.git fixed bug with bomb not disabling laser beam when using laser cannon --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 192dbf58..b5416109 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -2187,11 +2187,12 @@ static void Explode_MM(int x, int y, int phase, int mode) Bang_MM(laser.start_edge.x, laser.start_edge.y); Store[x][y] = EL_EMPTY; + + game_mm.game_over = TRUE; + game_mm.game_over_cause = GAME_OVER_BOMB; } else if (IS_MCDUFFIN(Store[x][y])) { - game_mm.game_over = TRUE; - game_mm.game_over_cause = GAME_OVER_BOMB; Store[x][y] = EL_EMPTY; }