fixed bug with laser still overloading after it was destroyed by bomb
authorHolger Schemel <info@artsoft.org>
Fri, 7 Apr 2017 06:37:56 +0000 (08:37 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:12 +0000 (23:21 +0100)
src/game_mm/mm_game.c

index b5416109f441e730d5d56dce9209bf26cdc1f240..ced5a021d60ada7e1d75a1a69fb1dcf1a6b2bd2b 100644 (file)
@@ -2190,6 +2190,8 @@ static void Explode_MM(int x, int y, int phase, int mode)
 
       game_mm.game_over = TRUE;
       game_mm.game_over_cause = GAME_OVER_BOMB;
+
+      laser.overloaded = FALSE;
     }
     else if (IS_MCDUFFIN(Store[x][y]))
     {