From: Holger Schemel Date: Sat, 18 Nov 2023 15:55:35 +0000 (+0100) Subject: fixed using masked elements when using element graphic for empty space X-Git-Tag: 4.3.8.0~39 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=38a107846ee06e0643bc50ee270962b3c8872cb0;p=rocksndiamonds.git fixed using masked elements when using element graphic for empty space --- diff --git a/src/game.c b/src/game.c index 51633eb1..a7e05b85 100644 --- a/src/game.c +++ b/src/game.c @@ -3973,6 +3973,10 @@ void InitGame(void) InitBeltMovement(); + // required if level does not contain any "empty space" element + if (element_info[EL_EMPTY].use_gfx_element) + game.use_masked_elements = TRUE; + for (i = 0; i < MAX_PLAYERS; i++) { struct PlayerInfo *player = &stored_player[i];