mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 09:36:41 +00:00
Avoid conflicts between gamepad movement and always run setting
This commit is contained in:
parent
40c1db32bd
commit
f271ac255d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue