diff options
| author | untodesu <kirill@untode.su> | 2025-03-15 17:12:47 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-03-15 17:12:47 +0500 |
| commit | 3a6cfe786a9e78188923849e3f65e2218b1af80c (patch) | |
| tree | 7d8e54c334d7053ce3af0334593338680ac78da6 /game/client/toggles.cc | |
| parent | e53cca0ec8b4186cf79b6f927d74483f1301d5f6 (diff) | |
| download | voxelius-3a6cfe786a9e78188923849e3f65e2218b1af80c.tar.bz2 voxelius-3a6cfe786a9e78188923849e3f65e2218b1af80c.zip | |
Hard-code DEBUG_KEY and make it un-bindable
Diffstat (limited to 'game/client/toggles.cc')
| -rw-r--r-- | game/client/toggles.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/client/toggles.cc b/game/client/toggles.cc index 7d51832..7e20875 100644 --- a/game/client/toggles.cc +++ b/game/client/toggles.cc @@ -4,6 +4,7 @@ #include "core/config.hh" #include "client/chat.hh" +#include "client/const.hh" #include "client/gamepad.hh" #include "client/glfw.hh" #include "client/globals.hh" @@ -51,7 +52,7 @@ static void on_glfw_key(const GlfwKeyEvent &event) return; } - if(event.key == GLFW_KEY_F3) { + if(event.key == DEBUG_KEY) { if(event.action == GLFW_PRESS) { toggles::is_sequence_await = true; return; |
