projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d3dca
)
fixed compiler warning
author
Holger Schemel
<info@artsoft.org>
Tue, 30 Apr 2024 19:58:15 +0000
(21:58 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 30 Apr 2024 19:58:37 +0000
(21:58 +0200)
src/game_bd/bd_graphics.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_graphics.c
b/src/game_bd/bd_graphics.c
index f1558c277da10ab2cf210063960276db7398c867..0194f4429b043ec7cfbc02fb0ce6c1392f1e94bf 100644
(file)
--- a/
src/game_bd/bd_graphics.c
+++ b/
src/game_bd/bd_graphics.c
@@
-538,11
+538,13
@@
static inline boolean el_diggable(const int element)
return (gd_elements[element & O_MASK].properties & P_DIGGABLE) != 0;
}
+#if 0
// returns true if the element is collectible
static inline boolean el_collectible(const int element)
{
return (gd_elements[element & O_MASK].properties & P_COLLECTIBLE) != 0;
}
+#endif
// returns true if the element is pushable
static inline boolean el_pushable(const int element)