projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a83ab
)
fixed crumbling graphics bug when player explodes after digging sand
author
Holger Schemel
<info@artsoft.org>
Sat, 25 Mar 2023 08:54:24 +0000
(09:54 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 25 Mar 2023 08:54:24 +0000
(09:54 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index a0b51c750a21cb252a697eb11db1e78492ecbaec..dd9df82c71dd1bbb22e6eb9ae654837531ee6d20 100644
(file)
--- 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;