diff options
Diffstat (limited to 'game/client/player_look.cc')
| -rw-r--r-- | game/client/player_look.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/client/player_look.cc b/game/client/player_look.cc index 605020b..6bd7be7 100644 --- a/game/client/player_look.cc +++ b/game/client/player_look.cc @@ -136,7 +136,7 @@ void player_look::update_late(void) add_angles(pitch_value, yaw_value); } - if(!globals::gui_screen && session::is_ingame) { + 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()); } |
