Improve mouse hiding logic (#2163)

* Improve mouse hiding logic

* Restore ImGui logic
This commit is contained in:
Luke Street
2026-07-02 00:03:18 -06:00
committed by GitHub
parent 09f087656a
commit f32e069c4b
5 changed files with 82 additions and 60 deletions
+1 -1
View File
@@ -7716,7 +7716,7 @@ bool dCamera_c::freeCamera() {
f32 yaw_rad = 0.0f;
f32 pitch_rad = 0.0f;
dusk::mouse::getCameraDeltas(yaw_rad, pitch_rad);
dusk::mouse::get_camera_deltas(yaw_rad, pitch_rad);
if (dusk::getSettings().game.enableMouseCamera && (yaw_rad != 0.0f || pitch_rad != 0.0f) &&
!dComIfGp_checkCameraAttentionStatus(dComIfGp_getPlayerCameraID(0), 0x8))
{