Fix a regression with disappearing cursor in the self-enchanting menu

pull/541/head
Andrei Kortunov 6 years ago
parent 9b716a2f8d
commit f165d22cde

@ -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