mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Avoid conflicts between gamepad movement and always run setting
This commit is contained in:
parent
40c1db32bd
commit
f271ac255d
@ -703,7 +703,7 @@ namespace MWInput
|
||||
mOverencumberedMessageDelay = 0.f;
|
||||
}
|
||||
|
||||
if (mAlwaysRunActive || isRunning)
|
||||
if ((mAlwaysRunActive && !mJoystickLastUsed) || isRunning)
|
||||
mPlayer->setRunState(!actionIsActive(A_Run));
|
||||
else
|
||||
mPlayer->setRunState(actionIsActive(A_Run));
|
||||
|
Loading…
x
Reference in New Issue
Block a user