From: Holger Schemel Date: Tue, 30 Apr 2024 19:58:15 +0000 (+0200) Subject: fixed compiler warning X-Git-Tag: 4.4.0.0-test-1~23 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cc27fb408f32cf924b5b40e6e1d1b68b932a1b67;p=rocksndiamonds.git fixed compiler warning --- 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)