From c31fa3074e642bb254f999feeef6e9743d13c18c Mon Sep 17 00:00:00 2001 From: terrabyte25 <23338617+terabyte25@users.noreply.github.com> Date: Wed, 12 Dec 2018 14:40:15 -0600 Subject: [PATCH] Sanity check for text input in toggleWalking --- apps/openmw/mwinput/inputmanagerimp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index d8b4fd831..be1301aac 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1173,7 +1173,7 @@ namespace MWInput void InputManager::toggleWalking() { - if (MWBase::Environment::get().getWindowManager()->isGuiMode()) return; + if (MWBase::Environment::get().getWindowManager()->isGuiMode() || SDL_IsTextInputActive()) return; mAlwaysRunActive = !mAlwaysRunActive; Settings::Manager::setBool("always run", "Input", mAlwaysRunActive);