diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-28 15:10:10 +0900 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-28 15:10:10 +0900 |
commit | 2550f71c39c1a24588c50c640350f10caefc2342 (patch) | |
tree | 43db73df38b8a779bea641ef2adb4e492cbbf43f /src | |
parent | 086fe7efebd7aa59e5523c56adc3c8ea1741058b (diff) |
Only enable reload key in debug mode
Diffstat (limited to 'src')
-rw-r--r-- | src/ray.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -260,8 +260,10 @@ read_input(void) return states[current_state].input; if (IsKeyPressed(KEY_Q) || IsKeyPressed(KEY_A)) return DISP_QUIT; +#ifndef NDEBUG if (IsKeyPressed(KEY_R) || IsKeyPressed(KEY_G)) return DISP_RELOAD; +#endif if (IsKeyPressed(KEY_BACKSPACE)) { states[current_state].input = |