Avoid conflicts between gamepad movement and always run setting

pull/541/head
Capostrophic 6 years ago
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…
Cancel
Save