You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Managers/UInputMan.cpp
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1017,7 +1017,8 @@ namespace RTE {
1017
1017
voidUInputMan::UpdateMouseInput() {
1018
1018
// Detect and store mouse movement input, translated to analog stick emulation
1019
1019
int mousePlayer = MouseUsedByPlayer();
1020
-
if (mousePlayer != Players::NoPlayer) {
1020
+
// TODO: Figure out a less shit solution to updating the mouse in GUIs when there are no mouse players configured, i.e. no player input scheme is using mouse+keyboard. For not just check if we're out of Activity.
1021
+
if (!g_ActivityMan.IsInActivity() || mousePlayer != Players::NoPlayer) {
1021
1022
// Multiplying by 30 for sensitivity. TODO: Make sensitivity slider 1-50;
0 commit comments