From 2550f71c39c1a24588c50c640350f10caefc2342 Mon Sep 17 00:00:00 2001
From: Tristan Riehs <tristan.riehs@bordeaux-inp.fr>
Date: Fri, 28 Jun 2024 15:10:10 +0900
Subject: Only enable reload key in debug mode

---
 src/ray.c | 2 ++
 1 file changed, 2 insertions(+)

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 =
-- 
cgit v1.2.3