From: Holger Schemel Date: Sun, 14 Apr 2024 18:18:22 +0000 (+0200) Subject: fixed defining function also when not using debug mode X-Git-Tag: 4.4.0.0-test-1~71 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=7ed57e860a18ef9e2c9f541fdabff1d8d934cfef;p=rocksndiamonds.git fixed defining function also when not using debug mode --- diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index fe2e6b45..635e21f6 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -530,13 +530,11 @@ Bitmap *gd_get_tile_bitmap(Bitmap *bitmap) return bitmap; } -#if DO_GFX_SANITY_CHECK // workaround to prevent variable name scope problem static boolean use_native_bd_graphics_engine(void) { return game.use_native_bd_graphics_engine; } -#endif // returns true if the element is a player static inline boolean is_player(const int element)