fixed initialization of flag for wrap-around levels in EM engine
authorHolger Schemel <info@artsoft.org>
Wed, 26 Feb 2020 07:28:59 +0000 (08:28 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 19 May 2020 16:20:01 +0000 (18:20 +0200)
src/game_em/cave.c
src/game_em/cave.h

index 664b88a7380c081bad10393319f9ef74001703c2..e501a8917438f117cfab4a55796e1c918937a258 100644 (file)
@@ -62,7 +62,8 @@ void setLevelInfoToDefaults_EM(void)
 
   cav.testmode         = FALSE;
   cav.teamwork         = FALSE;
-  cav.infinite         = FALSE;
+  cav.infinite         = TRUE;
+
   cav.ball_random      = FALSE;
   cav.ball_active      = FALSE;
   cav.wonderwall_active        = FALSE;
index 32d3a03d8ec8520128fbb2d7c3e67a1b74078ac7..cb189ce661a1632a2c755c9998ac5737893cb2f4 100644 (file)
@@ -255,6 +255,7 @@ struct CAVE
   boolean testmode;            /* flag for test mode */
   boolean teamwork;            /* flag for two player mode */
   boolean infinite;            /* flag for infinitely wide cave */
+
   boolean ball_random;         /* flag if ball is random */
   boolean ball_active;         /* flag if ball is already active */
   boolean wonderwall_active;   /* flag if wonderwall is already active */