From: Holger Schemel Date: Fri, 5 Apr 2024 09:36:49 +0000 (+0200) Subject: minor code formatting changes X-Git-Tag: 4.4.0.0-test-1~107 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=68bef97fc43a47111a2f4fc6d28c43c3540eea96;p=rocksndiamonds.git minor code formatting changes --- diff --git a/src/game.c b/src/game.c index 0d5bec36..2c16aa62 100644 --- a/src/game.c +++ b/src/game.c @@ -3974,8 +3974,6 @@ void InitGame(void) game.explosions_delayed = TRUE; - game.envelope_active = FALSE; - // special case: set custom artwork setting to initial value game.use_masked_elements = game.use_masked_elements_initial; @@ -4622,6 +4620,7 @@ void InitGame(void) game.restart_level = FALSE; game.request_active = FALSE; + game.envelope_active = FALSE; if (level.game_engine_type == GAME_ENGINE_TYPE_MM) InitGameActions_MM(); diff --git a/src/game.h b/src/game.h index 4e86e106..6f4f760d 100644 --- a/src/game.h +++ b/src/game.h @@ -216,7 +216,6 @@ struct GameInfo int wind_direction; boolean explosions_delayed; - boolean envelope_active; boolean no_level_time_limit; // (variable only in very special case) boolean time_limit; // forced by levelset config or setup option @@ -258,6 +257,7 @@ struct GameInfo // values for special request dialog control boolean request_active; + boolean envelope_active; // values for special game control int centered_player_nr;