X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=0cb2e094f9ebe6c7f6e727af5e70d03ead65bf11;hb=400531ebc8e8874fd026b5486874d1f325ace5c3;hp=6113871750944202623ddd6f6228c0941187c0c8;hpb=8b8ea53b13db11272139e2bd2fa62877ff0d32ec;p=rocksndiamonds.git diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 61138717..0cb2e094 100644 --- a/src/game_mm/mm_game.c +++ b/src/game_mm/mm_game.c @@ -1191,6 +1191,9 @@ boolean HitElement(int element, int hit_mask) if (element == EL_KETTLE || element == EL_CELL) { + if (game_mm.kettles_still_needed > 0) + game_mm.kettles_still_needed--; + RaiseScore_MM(10); if (game_mm.kettles_still_needed == 0) @@ -2163,7 +2166,7 @@ static void Explode_MM(int x, int y, int phase, int mode) graphic_phase += 4; else { - graphic = GFX_EMPTY; + graphic = IMG_EMPTY; graphic_phase = 0; } }