mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-23 05:59:30 -04:00
Improve mouse hiding logic (#2163)
* Improve mouse hiding logic * Restore ImGui logic
This commit is contained in:
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user