summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-03-17 13:33:07 +0500
committeruntodesu <kirill@untode.su>2025-03-17 13:33:07 +0500
commitf876a69c50db41bd31baad74658ee3b84c4bad6a (patch)
treeef798cbe4ca0090abef5cce47ed981acfe0e306a
parentd1d7521ee859f10e99fb3f82e710c8bbeb7c41c5 (diff)
downloadvoxelius-f876a69c50db41bd31baad74658ee3b84c4bad6a.tar.bz2
voxelius-f876a69c50db41bd31baad74658ee3b84c4bad6a.zip
MSVC fixes (again)
-rw-r--r--game/client/player_look.cc2
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());
}