From cc27fb408f32cf924b5b40e6e1d1b68b932a1b67 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 30 Apr 2024 21:58:15 +0200 Subject: [PATCH] fixed compiler warning --- src/game_bd/bd_graphics.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index f1558c27..0194f442 100644 --- 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) -- 2.34.1