diff --git a/CMakeLists.txt b/CMakeLists.txt index f94dce4..52be6ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,6 @@ endif() if(CMAKE_BUILD_TYPE MATCHES DEBUG) add_link_options(-fsanitize=address) - add_definitions(DEBUG) endif() set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmaybe-uninitialized -Wno-unused-variable") diff --git a/src/game.c b/src/game.c index a0d6061..516f290 100644 --- a/src/game.c +++ b/src/game.c @@ -396,9 +396,7 @@ void game_handleFKeyInput(void) { } void game_handleSpaceKeyInput(void){ - #ifdef DEBUG if(isSpaceKeypressed == true && !crashed)return; - #endif if(crashed){ crashed = false; personPositionX = startPersonPositionX;