From: Holger Schemel Date: Wed, 26 Feb 2020 07:28:59 +0000 (+0100) Subject: fixed initialization of flag for wrap-around levels in EM engine X-Git-Tag: 4.2.0.0~66 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0698c0ef714026252768bc7ff7d11ac7c0598269;p=rocksndiamonds.git fixed initialization of flag for wrap-around levels in EM engine --- diff --git a/src/game_em/cave.c b/src/game_em/cave.c index 664b88a7..e501a891 100644 --- a/src/game_em/cave.c +++ b/src/game_em/cave.c @@ -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; diff --git a/src/game_em/cave.h b/src/game_em/cave.h index 32d3a03d..cb189ce6 100644 --- a/src/game_em/cave.h +++ b/src/game_em/cave.h @@ -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 */