summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 077b195c1..7c059d968 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -863,14 +863,20 @@ int Client::gameExec()
break;
case SDL_KEYDOWN:
- if (inputManager.handleAssignKey(event, INPUT_KEYBOARD))
+ if (inputManager.handleAssignKey(
+ event, INPUT_KEYBOARD))
+ {
continue;
+ }
inputManager.updateConditionMask();
break;
case SDL_KEYUP:
- if (inputManager.handleAssignKey(event, INPUT_KEYBOARD))
+ if (inputManager.handleAssignKey(
+ event, INPUT_KEYBOARD))
+ {
continue;
+ }
inputManager.updateConditionMask();
break;