projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
white space changes
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_caveobject.c
diff --git
a/src/game_bd/bd_caveobject.c
b/src/game_bd/bd_caveobject.c
index 69e886171db50893cd98671b1e8bd90557a4a1ed..dc105cdad01f6802a16b9c9fd76cd050e6ab8cf9 100644
(file)
--- a/
src/game_bd/bd_caveobject.c
+++ b/
src/game_bd/bd_caveobject.c
@@
-1318,7
+1318,7
@@
static void draw_random_fill(GdCave *cave, const GdObject *object, int level)
if (randm < object->random_fill_probability[3])
element = object->random_fill[3];
- if (object->element
==
O_NONE ||
+ if (object->element
==
O_NONE ||
gd_cave_get_rc(cave, x, y) == object->element)
gd_cave_store_rc(cave, x, y, element, object);
}