summaryrefslogtreecommitdiff
path: root/src/inputmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r--src/inputmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index 02612ff42..ba94c7d3e 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -694,5 +694,5 @@ int InputManager::getActionByKey(const SDL_Event &event)
if (idx >= 0 && checkKey(&keyData[idx]))
return idx;
}
- return -1;
+ return Input::KEY_NO_VALUE;
}