From: Holger Schemel Date: Sun, 15 Sep 2024 17:52:39 +0000 (+0200) Subject: white space changes X-Git-Tag: 4.4.0.0-test-4~241 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=beb65f03055fade046ffa79a59044232250de01f;p=rocksndiamonds.git white space changes --- diff --git a/src/game_bd/bd_caveengine.c b/src/game_bd/bd_caveengine.c index b94b3560..76ba617f 100644 --- a/src/game_bd/bd_caveengine.c +++ b/src/game_bd/bd_caveengine.c @@ -743,15 +743,21 @@ static void cell_explode(GdCave *cave, int x, int y, GdElement explode_to) cave->voodoo_touched = TRUE; if (get(cave, x, y) == O_VOODOO && !cave->voodoo_disappear_in_explosion) + { // voodoo turns into a time penalty store(cave, x, y, O_TIME_PENALTY); + } else if (get(cave, x, y) == O_NITRO_PACK || get(cave, x, y) == O_NITRO_PACK_F) + { // nitro pack inside an explosion - it is now triggered store(cave, x, y, O_NITRO_PACK_EXPLODE); + } else + { // for everything else store(cave, x, y, explode_to); + } } // A creature at (x, y) explodes to a 3x3 square.