X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=666149c277e1194c35a72586529cc89dfe84ec67;hb=7a7f090296fc140cb8d51bcc02759eb0d09ed8c8;hp=5a63c25ea5fc04c0c8c90389daa48c5023acacb2;hpb=2a5c67b00174b07749ca8bef96ba3281e6839dba;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 5a63c25e..666149c2 100644 --- a/src/game.c +++ b/src/game.c @@ -1850,7 +1850,7 @@ void Explode(int ex, int ey, int phase, int mode) if (phase == delay) DrawLevelFieldCrumbledSand(x, y); - if (IS_WALKABLE_OVER(Back[x][y])) + if (IS_WALKABLE_OVER(Back[x][y]) && Back[x][y] != EL_EMPTY) { DrawLevelElement(x, y, Back[x][y]); DrawGraphicThruMask(SCREENX(x), SCREENY(y), graphic, frame); @@ -4553,7 +4553,7 @@ static void ChangeElement(int x, int y) { int element = Feld[x][y]; - if (IS_MOVING(x, y)) /* never change moving elements */ + if (IS_MOVING(x, y)) /* never change a running system :-) */ return; if (MovDelay[x][y] == 0) /* initialize element change */