diff options
Diffstat (limited to 'game/client/entity/player_look.cc')
| -rw-r--r-- | game/client/entity/player_look.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |
