From 7ed57e860a18ef9e2c9f541fdabff1d8d934cfef Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 14 Apr 2024 20:18:22 +0200 Subject: [PATCH] fixed defining function also when not using debug mode --- src/game_bd/bd_graphics.c | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.34.1