mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Avoid the 'structurally dead code' warning
This commit is contained in:
parent
b2fca46206
commit
7501f18d21
@ -196,8 +196,6 @@ namespace MWInput
|
||||
|
||||
void InputManager::handleGuiArrowKey(int action)
|
||||
{
|
||||
// Temporary shut-down of this function until deemed necessary.
|
||||
return;
|
||||
if (SDL_IsTextInputActive())
|
||||
return;
|
||||
|
||||
@ -402,7 +400,8 @@ namespace MWInput
|
||||
case A_MoveRight:
|
||||
case A_MoveForward:
|
||||
case A_MoveBackward:
|
||||
handleGuiArrowKey(action);
|
||||
// Temporary shut-down of this function until deemed necessary.
|
||||
//handleGuiArrowKey(action);
|
||||
break;
|
||||
case A_Journal:
|
||||
toggleJournal ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user