mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 03:53:52 +00:00
Avoid the 'structurally dead code' warning
This commit is contained in:
parent
b2fca46206
commit
7501f18d21
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue