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:
parent
43d8c6c484
commit
5eb0f489e2
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue