Merge pull request #2320 from akortunov/cursorfix

[Regression] Fix disappearing cursor in the self-enchanting menu
pull/2322/head
Bret Curtis 6 years ago committed by GitHub
commit 4fa529e093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -779,7 +779,7 @@ namespace MWInput
mMouseLookEnabled = !guiMode;
if (guiMode)
MWBase::Environment::get().getWindowManager()->showCrosshair(false);
MWBase::Environment::get().getWindowManager()->setCursorVisible(guiMode && (mJoystickLastUsed && !mGamepadGuiCursorEnabled));
MWBase::Environment::get().getWindowManager()->setCursorVisible(guiMode && (!mJoystickLastUsed || mGamepadGuiCursorEnabled));
// if not in gui mode, the camera decides whether to show crosshair or not.
}

Loading…
Cancel
Save