1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +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() void InputManager::toggleAutoMove()
{ {
if (mWindows.isGuiMode()) return; if (mWindows.isGuiMode()) return;
if (mControlSwitch["playercontrols"])
mPlayer.setAutoMove (!mPlayer.getAutoMove()); mPlayer.setAutoMove (!mPlayer.getAutoMove());
} }