Fix naming of the invert mouse Y option (#1130)

This commit is contained in:
Vladik01-11 2025-10-27 23:23:52 +03:00 committed by GitHub
parent 8853a890d4
commit a594574993
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -644,7 +644,7 @@ void CMenuManager::DrawStandardMenus(bool drawTitle) {
}
case eMenuAction::MENU_ACTION_CONTROLS_MOUSE_INVERT_Y:
// Standard for all new games
rightColumnText = notsa::IsFixBugs() ? GetOnOffText(bInvertMouseY) : GetOnOffText(!bInvertMouseY);
rightColumnText = GetOnOffText(!bInvertMouseY);
break;
case eMenuAction::MENU_ACTION_RESOLUTION: {
GxtChar tmpBuffer[1'024];

View File

@ -286,7 +286,7 @@ void CPad::UpdateMouse() {
}
if (!FrontEndMenuManager.m_bMenuActive) {
invertX = FrontEndMenuManager.bInvertMouseX ? -1 : 1;
invertY = FrontEndMenuManager.bInvertMouseY ? 1 : -1; // NOTSA: Original code had -1 for inverted Y
invertY = FrontEndMenuManager.bInvertMouseY ? -1 : 1;
}
#ifndef NOTSA_USE_SDL3