mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-11 00:44: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)
|
void InputManager::handleGuiArrowKey(int action)
|
||||||
{
|
{
|
||||||
// Temporary shut-down of this function until deemed necessary.
|
|
||||||
return;
|
|
||||||
if (SDL_IsTextInputActive())
|
if (SDL_IsTextInputActive())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -402,7 +400,8 @@ namespace MWInput
|
|||||||
case A_MoveRight:
|
case A_MoveRight:
|
||||||
case A_MoveForward:
|
case A_MoveForward:
|
||||||
case A_MoveBackward:
|
case A_MoveBackward:
|
||||||
handleGuiArrowKey(action);
|
// Temporary shut-down of this function until deemed necessary.
|
||||||
|
//handleGuiArrowKey(action);
|
||||||
break;
|
break;
|
||||||
case A_Journal:
|
case A_Journal:
|
||||||
toggleJournal ();
|
toggleJournal ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user