projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added transparency for game elements over empty space elements
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index bf79b048d344368bf064bbc992bf98a18c4cf301..a3e5306835f7082e83a21f22c3dc053f13f5257d 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1996,6
+1996,9
@@
void DrawScreenElementExt(int x, int y, int dx, int dy, int element,
int graphic;
int frame;
+ if (element == EL_EMPTY)
+ element = GfxElementEmpty[lx][ly];
+
if (IN_LEV_FIELD(lx, ly))
{
SetRandomAnimationValue(lx, ly);