From beb65f03055fade046ffa79a59044232250de01f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 15 Sep 2024 19:52:39 +0200 Subject: [PATCH] white space changes --- src/game_bd/bd_caveengine.c | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.34.1