aboutsummaryrefslogtreecommitdiff
path: root/src/ray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ray.c')
-rw-r--r--src/ray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ray.c b/src/ray.c
index 0ee2a76..756840c 100644
--- a/src/ray.c
+++ b/src/ray.c
@@ -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 =