mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-11 15:40:39 +00:00
Issue 476: fixed auto-move bypassing disabled player controls
This commit is contained in:
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…
x
Reference in New Issue
Block a user