projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72adb0
)
fixed defining function also when not using debug mode
author
Holger Schemel
<info@artsoft.org>
Sun, 14 Apr 2024 18:18:22 +0000
(20:18 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 14 Apr 2024 18:18:22 +0000
(20:18 +0200)
src/game_bd/bd_graphics.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_graphics.c
b/src/game_bd/bd_graphics.c
index fe2e6b45b87ef1dd191dfe66bb81331d987c2830..635e21f61b09b7fe153cb5af15067f30e81189ad 100644
(file)
--- 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)