From f363a257dac02ca844677e7cf258a57b0f34cb8d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 01:05:47 +0300 Subject: Fix compilation error without C++11 flag. --- src/gui/sdlinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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); } -- cgit v1.2.3-70-g09d2