diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 01:05:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 01:05:47 +0300 |
commit | f363a257dac02ca844677e7cf258a57b0f34cb8d (patch) | |
tree | f70251673f674d3c00cd8c674ca1a51404116a06 /src/gui/sdlinput.cpp | |
parent | 33777ea0994f01c696b74677f4937fe2987552c9 (diff) | |
download | mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.gz mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.bz2 mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.tar.xz mv-f363a257dac02ca844677e7cf258a57b0f34cb8d.zip |
Fix compilation error without C++11 flag.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 2 |
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); } |