Issue 476: fixed auto-move bypassing disabled player controls

actorid
Marc Zinnschlag 12 years ago
parent 43d8c6c484
commit 5eb0f489e2

@ -624,7 +624,9 @@ namespace MWInput
void InputManager::toggleAutoMove()
{
if (mWindows.isGuiMode()) return;
mPlayer.setAutoMove (!mPlayer.getAutoMove());
if (mControlSwitch["playercontrols"])
mPlayer.setAutoMove (!mPlayer.getAutoMove());
}
void InputManager::toggleWalking()

Loading…
Cancel
Save