1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

Make movement keys not function in text input mode

This commit is contained in:
scrawl 2017-11-10 21:48:11 +01:00
parent b9baee51d5
commit 1afbf99f74

View file

@ -176,6 +176,8 @@ namespace MWInput
void InputManager::handleGuiArrowKey(int action) void InputManager::handleGuiArrowKey(int action)
{ {
if (SDL_IsTextInputActive())
return;
MyGUI::KeyCode key; MyGUI::KeyCode key;
switch (action) switch (action)
{ {