From: Holger Schemel Date: Sat, 25 Mar 2023 08:54:24 +0000 (+0100) Subject: fixed crumbling graphics bug when player explodes after digging sand X-Git-Tag: 4.3.5.3~20 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=2896b24a67c428ec85915f3d6a59bc0c3ab7c3a9 fixed crumbling graphics bug when player explodes after digging sand --- diff --git a/src/game.c b/src/game.c index a0b51c75..dd9df82c 100644 --- a/src/game.c +++ b/src/game.c @@ -13948,7 +13948,7 @@ void KillPlayer(struct PlayerInfo *player) player->killed = TRUE; // remove accessible field at the player's position - Tile[jx][jy] = EL_EMPTY; + RemoveField(jx, jy); // deactivate shield (else Bang()/Explode() would not work right) player->shield_normal_time_left = 0;