From 6dc5194895b6bd61d19bf5c95021471784084325 Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 1 Jul 2025 03:23:05 +0500 Subject: I forgot to set these to true in .clang-format https://files.catbox.moe/909rig.gif --- game/client/entity/player_look.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'game/client/entity/player_look.cc') diff --git a/game/client/entity/player_look.cc b/game/client/entity/player_look.cc index 9326af2..c633922 100644 --- a/game/client/entity/player_look.cc +++ b/game/client/entity/player_look.cc @@ -142,7 +142,8 @@ void entity::player_look::update_late(void) if(!globals::gui_screen && session::is_ingame()) { glfwSetInputMode(globals::window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); glfwSetInputMode(globals::window, GLFW_RAW_MOUSE_MOTION, mouse_raw_input.get_value()); - } else { + } + else { glfwSetInputMode(globals::window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); glfwSetInputMode(globals::window, GLFW_RAW_MOUSE_MOTION, false); } -- cgit