X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;fp=src%2Ftools.c;h=a3e5306835f7082e83a21f22c3dc053f13f5257d;hp=bf79b048d344368bf064bbc992bf98a18c4cf301;hb=1e23125074b86c5eb1254037a81a3e9062152b7f;hpb=491ad391865f3746aefb49710ec7798418e0d7bb diff --git a/src/tools.c b/src/tools.c index bf79b048..a3e53068 100644 --- 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);