projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06ca530
)
minor code formatting changes
author
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 09:36:49 +0000
(11:36 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 09:36:49 +0000
(11:36 +0200)
src/game.c
patch
|
blob
|
history
src/game.h
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 0d5bec3652c9c2290c4bc554e69c43518d8e1311..2c16aa62c93d95c8a5344eb9f5d44aea92955c54 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3974,8
+3974,6
@@
void InitGame(void)
game.explosions_delayed = TRUE;
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;
// 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.restart_level = FALSE;
game.request_active = FALSE;
+ game.envelope_active = FALSE;
if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
InitGameActions_MM();
if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
InitGameActions_MM();
diff --git
a/src/game.h
b/src/game.h
index 4e86e106d671d3f480f91a4ce7477cb73192954d..6f4f760d34b082ce9fa1d6b86f13cc703ad56311 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-216,7
+216,6
@@
struct GameInfo
int wind_direction;
boolean explosions_delayed;
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
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;
// values for special request dialog control
boolean request_active;
+ boolean envelope_active;
// values for special game control
int centered_player_nr;
// values for special game control
int centered_player_nr;