projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20030509-1-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 7436b1d9ae07ca7823359240c53ea48b72d273a3..cd8e534197d5bb95bad9bce7a6663f8eb03c9bf7 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-6594,7
+6594,8
@@
int DigField(struct PlayerInfo *player,
#if 1
if (mode != DF_SNAP)
{
- GfxElement[x][y] = element;
+ GfxElement[x][y] =
+ (CAN_BE_CRUMBLED(element) ? EL_SAND : GFX_ELEMENT(element));
player->is_digging = TRUE;
}
#endif