1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 13:39:40 +00:00

Issue 476: fixed auto-move bypassing disabled player controls

This commit is contained in:
Marc Zinnschlag 2012-11-27 18:39:12 +01:00
parent 43d8c6c484
commit 5eb0f489e2

View file

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