Issue 476: fixed auto-move bypassing disabled player controls

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

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

Loading…
Cancel
Save