projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e23125
)
added transparency for game elements over empty space elements
author
Holger Schemel
<info@artsoft.org>
Fri, 26 Nov 2021 23:04:49 +0000
(
00:04
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 22 Jan 2022 16:58:29 +0000
(17:58 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 8ac2616131b19c07bf66ea9e47abaec49a95bb8a..491d4e9b541be0f3ca1ab48423f3ac1e16965719 100644
(file)
--- 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;