diff options
| author | untodesu <kirill@untode.su> | 2025-03-17 13:33:07 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-03-17 13:33:07 +0500 |
| commit | f876a69c50db41bd31baad74658ee3b84c4bad6a (patch) | |
| tree | ef798cbe4ca0090abef5cce47ed981acfe0e306a /game/client/player_look.cc | |
| parent | d1d7521ee859f10e99fb3f82e710c8bbeb7c41c5 (diff) | |
| download | voxelius-f876a69c50db41bd31baad74658ee3b84c4bad6a.tar.bz2 voxelius-f876a69c50db41bd31baad74658ee3b84c4bad6a.zip | |
MSVC fixes (again)
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()); } |
