From: Holger Schemel Date: Fri, 26 Nov 2021 23:04:49 +0000 (+0100) Subject: added transparency for game elements over empty space elements X-Git-Tag: 4.3.1.0~9 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=51da1cb28eb4d3d1383c2c0d89a51c28468fb413;p=rocksndiamonds.git added transparency for game elements over empty space elements --- diff --git a/src/game.c b/src/game.c index 8ac26161..491d4e9b 100644 --- a/src/game.c +++ b/src/game.c @@ -2032,6 +2032,9 @@ static void InitField(int x, int y, boolean init_game) { GfxElementEmpty[x][y] = element; Tile[x][y] = EL_EMPTY; + + if (element_info[element].use_gfx_element) + game.use_masked_elements = TRUE; } break;