From: Holger Schemel Date: Wed, 22 Feb 2017 18:42:18 +0000 (+0100) Subject: fixed decrementing counter for kettles (removed by accident) (MM engine) X-Git-Tag: 4.1.0.0~195 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=400531ebc8e8874fd026b5486874d1f325ace5c3;p=rocksndiamonds.git fixed decrementing counter for kettles (removed by accident) (MM engine) --- diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index 22d2065b..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)