summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-31 01:05:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-31 01:05:47 +0300
commitf363a257dac02ca844677e7cf258a57b0f34cb8d (patch)
treef70251673f674d3c00cd8c674ca1a51404116a06 /src
parent33777ea0994f01c696b74677f4937fe2987552c9 (diff)
downloadmanaverse-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.gz
manaverse-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.bz2
manaverse-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.xz
manaverse-f363a257dac02ca844677e7cf258a57b0f34cb8d.zip
Fix compilation error without C++11 flag.
Diffstat (limited to 'src')
-rw-r--r--src/gui/sdlinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index 8405dda90..689066fb5 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -293,7 +293,7 @@ void SDLInput::convertKeyEventToKey(const SDL_Event &event, KeyInput &keyInput)
{
keyInput.setKey(Key(convertKeyCharacter(event)));
const InputActionT actionId = inputManager.getActionByKey(event);
- if (actionId > InputActionT::NO_VALUE)
+ if (actionId > InputAction::NO_VALUE)
keyInput.setActionId(actionId);
}