fixed defining function also when not using debug mode
authorHolger Schemel <info@artsoft.org>
Sun, 14 Apr 2024 18:18:22 +0000 (20:18 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 14 Apr 2024 18:18:22 +0000 (20:18 +0200)
src/game_bd/bd_graphics.c

index fe2e6b45b87ef1dd191dfe66bb81331d987c2830..635e21f61b09b7fe153cb5af15067f30e81189ad 100644 (file)
@@ -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)