X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=43a0b8c2eeb12fb2086795b6f2903a68a81e9ebc;hb=44420be72ac421fce8a0949ce6bedac304b7c8cc;hp=87c054a211c0363e6200dd8670c984c5a90a3d21;hpb=7f8a11cd9d715fb89fd2ed168019fa05753bc5ea;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 87c054a2..43a0b8c2 100644 --- a/src/game.c +++ b/src/game.c @@ -5993,6 +5993,10 @@ static void Explode(int ex, int ey, int phase, int mode) return; } + // this can happen if the player was just killed by an explosion + if (GfxElement[x][y] == EL_UNDEFINED) + GfxElement[x][y] = EL_EMPTY; + if (phase == last_phase) { int element;